Use correct on_celebration callback
parent
36d729125b
commit
7ddc562e3d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue