hOLd oN
This commit is contained in:
@@ -373,11 +373,11 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE)
|
|||||||
for(var/X in actions)
|
for(var/X in actions)
|
||||||
var/datum/action/A = X
|
var/datum/action/A = X
|
||||||
A.Remove(user)
|
A.Remove(user)
|
||||||
|
if(item_flags & DROPDEL)
|
||||||
|
qdel(src)
|
||||||
item_flags &= ~IN_INVENTORY
|
item_flags &= ~IN_INVENTORY
|
||||||
SEND_SIGNAL(src, COMSIG_ITEM_DROPPED,user)
|
SEND_SIGNAL(src, COMSIG_ITEM_DROPPED,user)
|
||||||
user.update_equipment_speed_mods()
|
user.update_equipment_speed_mods()
|
||||||
if(item_flags & DROPDEL)
|
|
||||||
qdel(src)
|
|
||||||
|
|
||||||
// called just as an item is picked up (loc is not yet changed)
|
// called just as an item is picked up (loc is not yet changed)
|
||||||
/obj/item/proc/pickup(mob/user)
|
/obj/item/proc/pickup(mob/user)
|
||||||
|
|||||||
@@ -420,7 +420,7 @@
|
|||||||
return
|
return
|
||||||
if(I == legcuffed)
|
if(I == legcuffed)
|
||||||
legcuffed.forceMove(drop_location())
|
legcuffed.forceMove(drop_location())
|
||||||
legcuffed.dropped()
|
legcuffed.dropped(src)
|
||||||
legcuffed = null
|
legcuffed = null
|
||||||
update_inv_legcuffed()
|
update_inv_legcuffed()
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user