From b929d5f9284f442aa0caeb3b0ce3a45c70642d90 Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Fri, 10 Jul 2020 00:12:09 +0100 Subject: [PATCH] Bugfix --- Nasal/MCDU/F-PLN.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/MCDU/F-PLN.nas b/Nasal/MCDU/F-PLN.nas index d535912b..356c292a 100644 --- a/Nasal/MCDU/F-PLN.nas +++ b/Nasal/MCDU/F-PLN.nas @@ -94,7 +94,7 @@ var fplnItem = { return sprintf("%03.0f", math.round(me.trk)); }, getSpd: func() { - if (me.index == 0 and fmgc.FMGCInternal.v1) { + if (me.index == 0 and fmgc.FMGCInternal.v1set) { return [sprintf("%3.0f", math.round(fmgc.FMGCInternal.v1)), "mag"]; } elsif (me.wp.speed_cstr != nil and me.wp.speed_cstr != 0) { return [sprintf("%3.0f", me.wp.speed_cstr), "mag"];