From: Mario Date: Tue, 16 Dec 2014 22:31:17 +0000 (+1100) Subject: Actually use ok_lastwep X-Git-Tag: xonotic-v0.8.0~70^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bf86a625cd1a95786a551c60ab81ff0eb1e4076a;p=xonotic%2Fxonotic-data.pk3dir.git Actually use ok_lastwep --- diff --git a/qcsrc/server/mutators/mutator_overkill.qc b/qcsrc/server/mutators/mutator_overkill.qc index 8f94177a8..ced2e7106 100644 --- a/qcsrc/server/mutators/mutator_overkill.qc +++ b/qcsrc/server/mutators/mutator_overkill.qc @@ -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; }