fix crash
This commit is contained in:
parent
9de9de99db
commit
bd3972df23
|
@ -61,6 +61,7 @@ arena_lib.on_disable("the_bridge", function(arena, p_name)
|
|||
end)
|
||||
|
||||
arena_lib.on_quit("the_bridge", function(arena, p_name, is_spectator, reason)
|
||||
if is_spectator then return end
|
||||
player = minetest.get_player_by_name(p_name)
|
||||
player:hud_remove(arena.huds[p_name].blue)
|
||||
player:hud_remove(arena.huds[p_name].red)
|
||||
|
|
Loading…
Reference in New Issue