From 20b8d05dd5caad6e2241e352e46882ea41eacbc0 Mon Sep 17 00:00:00 2001
From: Josh Davidson <joshdavidson2000@outlook.com>
Date: Mon, 9 May 2022 12:23:47 -0400
Subject: [PATCH] DU: Fix PFD bug

---
 Models/Instruments/PFD/PFD.nas | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Models/Instruments/PFD/PFD.nas b/Models/Instruments/PFD/PFD.nas
index 43083c43..56270f42 100644
--- a/Models/Instruments/PFD/PFD.nas
+++ b/Models/Instruments/PFD/PFD.nas
@@ -1454,9 +1454,9 @@ var canvas_pfd = {
 			}
 			
 			if (fmgc.FMGCInternal.maxspeed <= 30) {
-				notification.ASImax = 0 - me.ASI;
+				notification.ASImax = 0 - notification.ASI;
 			} else if (fmgc.FMGCInternal.maxspeed >= 420) {
-				notification.ASImax = 390 - me.ASI;
+				notification.ASImax = 390 - notification.ASI;
 			} else {
 				notification.ASImax = fmgc.FMGCInternal.maxspeed - 30 - notification.ASI;
 			}