updated
This commit is contained in:
7
main.lua
7
main.lua
@@ -47,6 +47,13 @@ local function runDisplay()
|
||||
end
|
||||
|
||||
local function run()
|
||||
|
||||
-- Wait for all driver objects to be available
|
||||
while not (tempDriver and coolantDriver and statusDriver and turbineDriver and burnRateDriver) do
|
||||
print("Waiting for all drivers to be initialized...")
|
||||
sleep(1)
|
||||
end
|
||||
|
||||
while not reactor do
|
||||
print("Waiting for reactor signal...")
|
||||
sleep(1)
|
||||
|
||||
Reference in New Issue
Block a user