1
0
Fork 0

FG1000: Correct Debug menu item to display MFD

This commit is contained in:
Stuart Buchanan 2020-07-11 21:46:55 +01:00
parent ad43f14b65
commit 3f5f1a2570

View file

@ -737,7 +737,7 @@
<script>console.CanvasPlacement.new()</script>
</binding>
</item>
<item>
<name>nasal-test</name>
<binding>
@ -869,7 +869,7 @@
var fg1000system = fg1000.FG1000.getOrCreateInstance();
var mfdindex = getprop("/sim/gui/fg1000/mfd-index");
if (mfdindex == nil) {
mfdindex = fg1000system.addPFD();
mfdindex = fg1000system.addMFD();
setprop("/sim/gui/fg1000/mfd-index", mfdindex);
}