From: MirceaKitsune Date: Sun, 18 Mar 2012 19:07:12 +0000 (+0200) Subject: Dropped consumable items are also a pickup! Make them update last pickup time X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5df409463ceaed51f708ded86300e04d3b04bc26;p=voretournament%2Fvoretournament.git Dropped consumable items are also a pickup! Make them update last pickup time --- diff --git a/data/qcsrc/server/t_items.qc b/data/qcsrc/server/t_items.qc index 128e0113..9faf0882 100644 --- a/data/qcsrc/server/t_items.qc +++ b/data/qcsrc/server/t_items.qc @@ -363,6 +363,7 @@ void Item_Consumable_Spawn(entity e, entity pl) pl.punchangle_z = crandom() * cvar("g_balance_vore_swallow_predator_punchangle_item") * scalediff; pl.regurgitate_prepare = 0; pl.action_delay = time + cvar("g_balance_vore_action_delay"); + pl.last_pickup = time; } void Item_DroppedConsumable_Touch()