diff --git a/Nasal/FMGC.nas b/Nasal/FMGC.nas index 7869e13c..27e988f5 100644 --- a/Nasal/FMGC.nas +++ b/Nasal/FMGC.nas @@ -103,7 +103,7 @@ var greendot = maketimer(0.1, func { var kg = (gwlb * factor); var alt = getprop("position/altitude-ft"); var kg2= (kg / 1000); - var greendot = ((kg2 * 2) + 85); - setprop("/FMGC/internal/greendot-kts", greendot); -}); + var greendotis = ((kg2 * 2) + 85); + setprop("/FMGC/internal/greendot-kts", greendotis); +},); \ No newline at end of file