the harrier triggers a Nasal bug: "continue" doesn't execute the "for"
loop's reinitialization part. We have to do that manually for now, or get caught in an endless loop, until fgfs has mercy and segfaults.
This commit is contained in:
parent
d01ec5042b
commit
249dbd3303
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ showWeightDialog = func {
|
|||
cap = t.getNode("capacity-gal_us", 1).getValue();
|
||||
|
||||
# Hack, to ignore the "ghost" tanks created by the C++ code.
|
||||
if(cap == nil or cap < 1) { continue; }
|
||||
if(cap == nil or cap < 1) { i+=1; continue; }
|
||||
|
||||
title = tcell(fuelTable, "text", i+1, 0);
|
||||
title.set("label", tname);
|
||||
|
|
Loading…
Add table
Reference in a new issue