From: Mario Date: Sun, 1 Feb 2015 11:37:43 +0000 (+1100) Subject: Remove keys instantly rather than on a delay (partially fixes the problem of keys... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5bfab9b9c377b20f4569c5d968838003fa8ffbca;p=xonotic%2Fxonotic-data.pk3dir.git Remove keys instantly rather than on a delay (partially fixes the problem of keys teleporting to world origin for half a second) --- diff --git a/qcsrc/server/mutators/gamemode_keyhunt.qc b/qcsrc/server/mutators/gamemode_keyhunt.qc index e31bf110a..ba7b9322f 100644 --- a/qcsrc/server/mutators/gamemode_keyhunt.qc +++ b/qcsrc/server/mutators/gamemode_keyhunt.qc @@ -847,8 +847,7 @@ void kh_RemoveKey(entity key) // reset the key setattachment(key, world, ""); - key.think = SUB_Remove; - key.nextthink = time; + remove(key); } void kh_Reset()