From b26b85458505909c86f2880d58d2ec7ae3938bb9 Mon Sep 17 00:00:00 2001 From: itzmarkoni Date: Sat, 14 Jun 2025 17:15:13 -0400 Subject: [PATCH] updated --- main.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/main.lua b/main.lua index 4d77de2..4bf8cf1 100644 --- a/main.lua +++ b/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)