projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b094e8
)
LMS: fix newcomers not being able to join the game if a player forfeited
author
terencehill <piuntn@gmail.com>
Wed, 22 Jan 2020 19:18:38 +0000
(20:18 +0100)
committer
terencehill <piuntn@gmail.com>
Wed, 22 Jan 2020 19:18:38 +0000
(20:18 +0100)
qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc
patch
|
blob
|
history
diff --git
a/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc
b/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc
index d590895a4775bea5a84fe7db05e6082b48ac3ff7..66f2937c638b35f20f15f6fc8bd01631a9d638aa 100644
(file)
--- 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)
{