From 0e1b932392ed2e6e3d3a1aae27b60e8af00b59a6 Mon Sep 17 00:00:00 2001 From: templeofshadow Date: Thu, 25 Jun 2026 16:10:51 -0500 Subject: [PATCH] switch termination to quit botton --- main.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/main.lua b/main.lua index e13a316..79e0208 100644 --- a/main.lua +++ b/main.lua @@ -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+")