From 12f1c3928fe3dbedb50d551184cfcc254aaa158d Mon Sep 17 00:00:00 2001 From: Zughy <4279489-marco_a@users.noreply.gitlab.com> Date: Sun, 1 Oct 2023 21:26:59 +0200 Subject: [PATCH] Forgot to decomment a couple lines from previous commit --- src/callbacks.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/callbacks.lua b/src/callbacks.lua index 3095281..77324ec 100644 --- a/src/callbacks.lua +++ b/src/callbacks.lua @@ -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