From: Martin Taibr Date: Thu, 26 Mar 2020 15:51:22 +0000 (+0100) Subject: consistency X-Git-Tag: xonotic-v0.8.5~1133^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=093469e94c0b5a9eca477aef85322e7b586dede1;p=xonotic%2Fxonotic-data.pk3dir.git consistency --- diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index cff673e44..650c24913 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -1745,7 +1745,7 @@ float WinningCondition_Scores(float limit, float leadlimit) leadingfragsleft = WinningConditionHelper_secondscore + leadlimit - WinningConditionHelper_topscore; if (limit && leadlimit && autocvar_leadlimit_and_fraglimit) - fragsleft = max(leadingfragsleft, fragsleft); + fragsleft = max(fragsleft, leadingfragsleft); else fragsleft = min(fragsleft, leadingfragsleft);