]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
consistency
authorMartin Taibr <taibr.martin@gmail.com>
Thu, 26 Mar 2020 15:51:22 +0000 (16:51 +0100)
committerMartin Taibr <taibr.martin@gmail.com>
Thu, 26 Mar 2020 15:51:22 +0000 (16:51 +0100)
qcsrc/server/g_world.qc

index cff673e447256a4778bf6d09e52da05514c498f8..650c249139596cc69df943e447000214f9293d84 100644 (file)
@@ -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);