From cb0f663f94d9a5ce4f5cabc7f085a69f9ff8fed3 Mon Sep 17 00:00:00 2001 From: WahPlus Date: Mon, 15 Jun 2026 19:06:14 +0300 Subject: [PATCH] init: Fixed #71 --- init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 0b89f73..0c55b71 100644 --- a/init.lua +++ b/init.lua @@ -47,6 +47,7 @@ gpu.fill(1, 1, resX, resY, " ") -- Copying low-level functions in case of post-preload failure local pullSignal = computer.pullSignal local beep = computer.beep +local shutdown = computer.shutdown local unicode = unicode local result, reason = xpcall(loadthething, handleError) @@ -180,7 +181,9 @@ if not result then scrollRight() end if ev[4] == 28 then - computer.shutdown(true) + -- Next time copy this function too doofus + -- computer.shutdown(true) + shutdown(true) end end if ev[1] == "scroll" then