Use correct on_celebration callback

master
Zughy 2022-07-02 12:49:24 +02:00
parent 36d729125b
commit 7ddc562e3d
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
arena_lib.register_on_celebration(function(mod_ref, arena, winners)
arena_lib.on_celebration("balloon_bop", function(arena, winners)
for pl_name,stats in pairs(arena.players) do -- it is a good convention to use "pl_name" in for loops and "p_name" elsewhere
if balloon_bop.infohuds[pl_name] then
local player = minetest.get_player_by_name(pl_name)