Bugfix: don't end the match when the last spectator leaves and only a player is present

master
Zughy 2021-03-12 14:38:57 +01:00
parent 8c03575015
commit d32f4ebcd9
1 changed files with 1 additions and 0 deletions

View File

@ -430,6 +430,7 @@ function arena_lib.remove_player_from_arena(p_name, reason, executioner)
handle_leaving_callbacks(mod_ref, arena, p_name, reason, executioner, true)
players_in_game[p_name] = nil
return end
-- sennò...
else