Remove debug statements
This commit is contained in:
parent
db5ef87acd
commit
22d8a4bca6
1 changed files with 0 additions and 3 deletions
|
@ -1143,15 +1143,12 @@ var switchDatabase = func {
|
||||||
|
|
||||||
# Landing to phase 7
|
# Landing to phase 7
|
||||||
setlistener("/gear/gear[1]/wow", func(val) {
|
setlistener("/gear/gear[1]/wow", func(val) {
|
||||||
print("Called gear");
|
|
||||||
if (val.getValue() == 0 and timer30secLanding.isRunning) {
|
if (val.getValue() == 0 and timer30secLanding.isRunning) {
|
||||||
print("Stopping timer");
|
|
||||||
timer30secLanding.stop();
|
timer30secLanding.stop();
|
||||||
FMGCInternal.landingTime = -99;
|
FMGCInternal.landingTime = -99;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (val.getValue() and FMGCInternal.landingTime == -99) {
|
if (val.getValue() and FMGCInternal.landingTime == -99) {
|
||||||
print("Starting timer");
|
|
||||||
timer30secLanding.start();
|
timer30secLanding.start();
|
||||||
FMGCInternal.landingTime = pts.Sim.Time.elapsedSec.getValue();
|
FMGCInternal.landingTime = pts.Sim.Time.elapsedSec.getValue();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue