Remove niche debugging function

This commit is contained in:
Emik 2026-06-18 19:18:18 +02:00
parent eb232c1c77
commit ce395aedb3
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
3 changed files with 2 additions and 3 deletions

View file

@ -3,7 +3,7 @@
"id": "Roland",
"name": "Roland",
"prefix": "Roland",
"version": "2.9.7",
"version": "2.9.8",
"badge_colour": "8BE9FD",
"display_name": "Roland",
"main_file": "src/main.lua",

View file

@ -337,7 +337,6 @@ end
function SMODS.current_mod:calculate(context)
local _ = type(G.calccontext) == "function" and G.calccontext(context)
local _ = type(G.calckeys) == "function" and G.calckeys(f(context):keys())
if type(G.calc) == "function" then
G.calc = {G.calc}

View file

@ -31,7 +31,7 @@ local function protect_ev(fun)
end,
}
else
fun.func = protect(fun.func)
fun.func = protect(fun.func or fun[1])
return getmetatable(fun) == Event and fun or Event(fun)
end
end