From: terencehill Date: Sat, 21 Mar 2020 18:52:18 +0000 (+0100) Subject: Ignore lead limit if greater than score limit X-Git-Tag: xonotic-v0.8.5~1133^2~14 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=12bc80576b267b2cfd1e05ccfc9307e643746455;p=xonotic%2Fxonotic-data.pk3dir.git Ignore lead limit if greater than score limit --- diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index ff8eab7b8..49f8257f9 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -1737,7 +1737,7 @@ float WinningCondition_Scores(float limit, float leadlimit) limit = -limit; } - if(WinningConditionHelper_zeroisworst) + if(WinningConditionHelper_zeroisworst || (limit && leadlimit >= fabs(limit))) leadlimit = 0; // not supported in this mode if(MUTATOR_CALLHOOK(Scores_CountFragsRemaining))