Forgot to decomment a couple lines from previous commit

This commit is contained in:
Zughy 2023-10-01 21:26:59 +02:00
parent 9860b59f94
commit 12f1c3928f

View File

@ -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