remove redundant os.sleep in mainloop

This commit is contained in:
2026-06-25 18:04:07 -05:00
parent 153b149f5e
commit f6e7b50b9d

View File

@@ -832,9 +832,6 @@ function Main()
UpdateGlobalThrust() UpdateGlobalThrust()
UpdateStabilization() UpdateStabilization()
-- Add a small delay to avoid overloading the system
os.sleep(0.1)
local function getTerminateEvent() local function getTerminateEvent()
local event, key, is_held = os.pullEventRaw("key") local event, key, is_held = os.pullEventRaw("key")
if keys.getName(key) == "q" then if keys.getName(key) == "q" then