From: terencehill Date: Mon, 21 Mar 2016 23:00:39 +0000 (+0100) Subject: Fix race score rules not properly enabled when racing. Commit 78be9d52fa "Kill anothe... X-Git-Tag: xonotic-v0.8.2~993^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=343e9bc19fb0b92e2738d7b7c6f0e55efcf188f8;p=xonotic%2Fxonotic-data.pk3dir.git Fix race score rules not properly enabled when racing. Commit 78be9d52fa "Kill another bunch of gamemode specific checks" introduced this bug --- diff --git a/qcsrc/server/mutators/mutator/gamemode_race.qc b/qcsrc/server/mutators/mutator/gamemode_race.qc index ce86e50a7..bbcf56ae5 100644 --- a/qcsrc/server/mutators/mutator/gamemode_race.qc +++ b/qcsrc/server/mutators/mutator/gamemode_race.qc @@ -424,7 +424,7 @@ MUTATOR_HOOKFUNCTION(rc, CheckRules_World) { if(!g_race_qualifying) { - ret_float = WinningCondition_QualifyingThenRace(checkrules_fraglimit); + ret_float = WinningCondition_Race(checkrules_fraglimit); return true; } else if(g_race_qualifying == 2)