Use explicit local delcarations

This commit is contained in:
2025-02-28 17:45:03 -08:00
parent da2e57431d
commit 4f5755b637

View File

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