LMS: fix newcomers not being able to join the game if a player forfeited
authorterencehill <piuntn@gmail.com>
Wed, 22 Jan 2020 19:18:38 +0000 (20:18 +0100)
committerterencehill <piuntn@gmail.com>
Wed, 22 Jan 2020 19:18:38 +0000 (20:18 +0100)
qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc

index d590895..66f2937 100644 (file)
@@ -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)
                                {