switch termination to quit botton

This commit is contained in:
2026-06-25 16:10:51 -05:00
parent 1c13ea58e5
commit 0e1b932392

View File

@@ -780,11 +780,10 @@ function Main()
-- Add a small delay to avoid overloading the system
os.sleep(0.1)
local event = nil
local function getTerminateEvent()
event = os.pullEventRaw("terminate")
if event == "terminate" then
print("Terminate Event Received")
local event, key, is_held = os.pullEventRaw("key")
if keys.getName(key) == "q" then
print("Quit Input Received")
print("Writing to thruster config file.")
local thrusterConfigFile = fs.open(Config.thrusterConfigPath, "w+")