From: Mario Date: Sat, 12 Dec 2020 07:56:50 +0000 (+1000) Subject: Don't end the match at a 0:0 tie unless the server is empty, fixes #1981 X-Git-Tag: xonotic-v0.8.5~643 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=64c74c48540f4633530fedd8e14801b8781846ff;p=xonotic%2Fxonotic-data.pk3dir.git Don't end the match at a 0:0 tie unless the server is empty, fixes #1981 --- diff --git a/qcsrc/server/scores.qc b/qcsrc/server/scores.qc index 7cc5c6241..821c378a8 100644 --- a/qcsrc/server/scores.qc +++ b/qcsrc/server/scores.qc @@ -533,7 +533,8 @@ void WinningConditionHelper(entity this) else WinningConditionHelper_topscore = -999999999; } - WinningConditionHelper_equality = 0; + if(player_count == 0) // special case: empty servers DO end the match at a 0:0 tie + WinningConditionHelper_equality = 0; } if(WinningConditionHelper_secondscore == 0)