From e2421258bc968e4d5760fe4ff03b18ca18d79f34 Mon Sep 17 00:00:00 2001 From: Lyberta Date: Sun, 19 Mar 2017 02:43:09 +0300 Subject: [PATCH] Fixed weapon pickup. --- qcsrc/server/mutators/mutator/gamemode_survival.qc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/qcsrc/server/mutators/mutator/gamemode_survival.qc b/qcsrc/server/mutators/mutator/gamemode_survival.qc index 301329059..c6986197d 100644 --- a/qcsrc/server/mutators/mutator/gamemode_survival.qc +++ b/qcsrc/server/mutators/mutator/gamemode_survival.qc @@ -1497,10 +1497,7 @@ MUTATOR_HOOKFUNCTION(surv, ItemTouch) // FIXME: proper health pickup function. player.health += g_pickup_healthmedium; player.armorvalue += g_pickup_armormedium; - Item_ScheduleRespawn(item); - sound(player, CH_TRIGGER, SND_ITEMPICKUP, VOL_BASE, - ATTEN_NORM); - return MUT_ITEMTOUCH_RETURN; + return MUT_ITEMTOUCH_CONTINUE; } } return MUT_ITEMTOUCH_CONTINUE; -- 2.39.5