]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Actually use ok_lastwep
authorMario <zacjardine@y7mail.com>
Tue, 16 Dec 2014 22:31:17 +0000 (09:31 +1100)
committerMario <zacjardine@y7mail.com>
Tue, 16 Dec 2014 22:31:17 +0000 (09:31 +1100)
qcsrc/server/mutators/mutator_overkill.qc

index 8f94177a84ce2a9630a7d801dd997678c70beb23..ced2e71061ef5f1cb38b9a09ea3348b7faece5df 100644 (file)
@@ -206,6 +206,9 @@ MUTATOR_HOOKFUNCTION(ok_PlayerSpawn)
                
        self.ok_pauseregen_finished = time + 2;
 
+       self.switchweapon = self.ok_lastwep;
+       self.ok_lastwep = 0;
+
        return FALSE;
 }