minor change

This commit is contained in:
chmodsayshello 2022-10-10 09:28:29 +00:00
parent e47d1a7394
commit ef6af93901
1 changed files with 2 additions and 1 deletions

View File

@ -55,6 +55,7 @@ end)
arena_lib.on_end("the_bridge", function(arena, players, winners, spectators, is_forced) arena_lib.on_end("the_bridge", function(arena, players, winners, spectators, is_forced)
restore_map(arena) restore_map(arena)
arena.huds = {} arena.huds = {}
arena.finished = false
end) end)
arena_lib.on_disable("the_bridge", function(arena, p_name) arena_lib.on_disable("the_bridge", function(arena, p_name)
@ -67,4 +68,4 @@ arena_lib.on_quit("the_bridge", function(arena, p_name, is_spectator, reason)
player = minetest.get_player_by_name(p_name) player = minetest.get_player_by_name(p_name)
player:hud_remove(arena.huds[p_name].blue) player:hud_remove(arena.huds[p_name].blue)
player:hud_remove(arena.huds[p_name].red) player:hud_remove(arena.huds[p_name].red)
end) end)