From: Lyberta Date: Sat, 18 Mar 2017 23:43:09 +0000 (+0300) Subject: Fixed weapon pickup. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e2421258bc968e4d5760fe4ff03b18ca18d79f34;p=xonotic%2Fxonotic-data.pk3dir.git Fixed weapon pickup. --- 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;