revert for now: there's one nasal interpreter problem left to solve first
This commit is contained in:
parent
40621a028f
commit
1ee5cea2f9
1 changed files with 3 additions and 3 deletions
|
@ -71,9 +71,9 @@ INIT = func {
|
||||||
menuEnable("autopilot", props.globals.getNode("/autopilot/KAP140/locks") == nil);
|
menuEnable("autopilot", props.globals.getNode("/autopilot/KAP140/locks") == nil);
|
||||||
|
|
||||||
var fps = props.globals.getNode("/sim/rendering/fps-display", 1);
|
var fps = props.globals.getNode("/sim/rendering/fps-display", 1);
|
||||||
setlistener(fps, fpsDisplay, 1);
|
if (fps.getValue()) { fpsDisplay(1) }
|
||||||
setlistener("/sim/startup/xsize",
|
setlistener(fps, fpsDisplay);
|
||||||
func { if (fps.getValue()) { fpsDisplay(0); fpsDisplay(1) } });
|
setlistener("/sim/startup/xsize", func { if (fps.getValue()) { fpsDisplay(0); fpsDisplay(1) } });
|
||||||
}
|
}
|
||||||
settimer(INIT, 0);
|
settimer(INIT, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue