Crew: kludge for air spawn.

parent f072ae0c
......@@ -511,6 +511,11 @@ setlistener("/sim/signals/fdm-initialized", func(p) {
if(p.getValue() == 0){
return;
}
var overlay = getprop("/nasal/overlay/name") or "";
if(overlay == "cruise" or overlay == "approach"){
ready = 1;
rolling = 1;
}
settimer(func {
init(1);
maintimer.start();
......
......@@ -161,6 +161,10 @@ setlistener("/sim/signals/fdm-initialized", func(p) {
if(p.getValue() == 0){
return;
}
var overlay = getprop("/nasal/overlay/name") or "";
if(overlay == "cruise" or overlay == "approach"){
ready = 1;
}
settimer(func {
init(1);
maintimer.start();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment