]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Dropped consumable items are also a pickup! Make them update last pickup time
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 18 Mar 2012 19:07:12 +0000 (21:07 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 18 Mar 2012 19:07:12 +0000 (21:07 +0200)
data/qcsrc/server/t_items.qc

index 128e01138bcaefed6458c936ff78f8a40c62baad..9faf08821fb325c3b9a5da7e5eb278fbab0e104f 100644 (file)
@@ -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;\r
        pl.regurgitate_prepare = 0;\r
        pl.action_delay = time + cvar("g_balance_vore_action_delay");\r
+       pl.last_pickup = time;\r
 }\r
 \r
 void Item_DroppedConsumable_Touch()\r