1
0
Fork 0

revert for now: there's one nasal interpreter problem left to solve first

This commit is contained in:
mfranz 2006-01-30 15:35:00 +00:00
parent 40621a028f
commit 1ee5cea2f9

View file

@ -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);