]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
CTS: fix player not being reset
authorTimePath <andrew.hardaker1995@gmail.com>
Wed, 18 Nov 2015 02:05:19 +0000 (13:05 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Wed, 18 Nov 2015 02:05:47 +0000 (13:05 +1100)
qcsrc/server/mutators/mutator/gamemode_cts.qc

index c256d1b974b6d79e9a8ceb57d0198b5364c12e03..6d756fc679b615c74b878927f51838d1ab9aa72b 100644 (file)
@@ -417,7 +417,7 @@ MUTATOR_HOOKFUNCTION(cts, ClientKill)
 MUTATOR_HOOKFUNCTION(cts, Race_FinalCheckpoint)
 {
        if(autocvar_g_cts_finish_kill_delay)
-               CTS_ClientKill(self);
+               CTS_ClientKill(race_player);
 
        return false;
 }