Forgot to decomment a couple lines from previous commit
This commit is contained in:
parent
9860b59f94
commit
12f1c3928f
@ -126,8 +126,8 @@ end
|
||||
|
||||
function arena_lib.on_end(mod, func)
|
||||
-- to remove in 9.0
|
||||
--assert(debug.getinfo(func).nparams <= 3, "[ARENA_LIB] Error on minigame " .. mod .. "! Since arena_lib 7.0, on_end callback can take only up to 3 parameters. "
|
||||
-- .. "Check the docs and fix the minigame accordingly")
|
||||
assert(debug.getinfo(func).nparams <= 3, "[ARENA_LIB] Error on minigame " .. mod .. "! Since arena_lib 7.0, on_end callback can take only up to 3 parameters. "
|
||||
.. "Check the docs and fix the minigame accordingly")
|
||||
|
||||
arena_lib.mods[mod].on_end = func
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user