From: terencehill Date: Wed, 22 Jan 2020 19:18:38 +0000 (+0100) Subject: LMS: fix newcomers not being able to join the game if a player forfeited X-Git-Tag: xonotic-v0.8.5~1110^2~4^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6864ceb1a2658c9d251bfcd0f803a8a531c254d0;p=xonotic%2Fxonotic-data.pk3dir.git LMS: fix newcomers not being able to join the game if a player forfeited --- diff --git a/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc b/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc index d590895a4..66f2937c6 100644 --- a/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc +++ b/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc @@ -197,14 +197,12 @@ void lms_RemovePlayer(entity player) } else { - lms_lowest_lives = 999; FOREACH_CLIENT(true, { if (it.frags == FRAGS_PLAYER_OUT_OF_GAME) { float it_rank = GameRules_scoring_add(it, LMS_RANK, 0); if (it_rank > player_rank && it_rank <= 256) GameRules_scoring_add(it, LMS_RANK, -1); - lms_lowest_lives = 0; } else if (it.frags != FRAGS_SPECTATOR) {