Remove niche debugging function
This commit is contained in:
parent
eb232c1c77
commit
ce395aedb3
3 changed files with 2 additions and 3 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue