v0.4.0 - Aaaand event.lua is no longer working. FUUUUUUUUU

This commit is contained in:
TheWahlolly
2025-04-09 20:13:35 +03:00
parent c1f5b30abf
commit 6dfd970c62
7 changed files with 86 additions and 44 deletions
+4 -5
View File
@@ -13,11 +13,10 @@ function _G.cormgr.loadCoroutine(path)
end
function handleError(errormsg)
if errormsg~=nil then
-- nothing for now
error(tostring(errormsg))
if errormsg == nil then
error("unknown error")
else
error("An error has occured, but given as 'nil'.")
error(tostring(errormsg).."\n \n"..debug.traceback())
end
end
@@ -59,4 +58,4 @@ while true do
if #_G.cormgr.corList == 0 then
computer.shutdown()
end
end
end