Use explicit local delcarations
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
@lazyglobal off.
|
||||
wait until ship:unpacked.
|
||||
lock throttle to 1.0.
|
||||
|
||||
set booster to ship:partstagged("booster")[0].
|
||||
set sustainer to ship:partstagged("sustainer")[0].
|
||||
local booster is ship:partstagged("booster")[0].
|
||||
local sustainer is ship:partstagged("sustainer")[0].
|
||||
|
||||
from {local countdown is 3.} until countdown = 0 step {set countdown to countdown - 1.} do {
|
||||
hudtext( "..." + countdown, 1, 2, 15, yellow, false).
|
||||
|
||||
Reference in New Issue
Block a user