Bug fixes.

This commit is contained in:
2021-08-05 22:15:05 -04:00
parent d5e3a21e26
commit 92b6345f3e
2 changed files with 11 additions and 11 deletions

View File

@ -2,14 +2,14 @@
runoncepath("/lib/node").
if not HASNODE {
if HASNODE {
print "Node dV: " + NEXTNODE:DELTAV:MAG.
print "Burn time: " + BurnTime(NEXTNODE:DELTAV:MAG).
print "Lead time: " + BurnTime(NEXTNODE:DELTAV:MAG / 2).
print "Node UT: " + NEXTNODE:TIME.
print "Node ETA: " + NEXTNODE:ETA.
local stageStatus is choose "yes" if WillStage(NEXTNODE:DELTAV:MAG) else "no".
print "Will stage? " + stageStatus.
} else {
print "No node planned.".
return.
}
print "Node dV: " + NEXTNODE:DELTAV:MAG.
print "Burn time: " + BurnTime(NEXTNODE:DELTAV:MAG).
print "Lead time: " + BurnTime(NEXTNODE:DELTAV:MAG / 2).
print "Node UT: " + NEXTNODE:TIME.
print "Node ETA: " + NEXTNODE:ETA.
print "Will stage? " + choose "yes" if WillStage(NEXTNODE:DELTAV:MAG) else "no".