This commit is contained in:
Ghommie
2020-03-08 02:47:38 +01:00
parent e23e478c06
commit 10c8dbbb6e
2 changed files with 3 additions and 3 deletions

View File

@@ -373,11 +373,11 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE)
for(var/X in actions)
var/datum/action/A = X
A.Remove(user)
if(item_flags & DROPDEL)
qdel(src)
item_flags &= ~IN_INVENTORY
SEND_SIGNAL(src, COMSIG_ITEM_DROPPED,user)
user.update_equipment_speed_mods()
if(item_flags & DROPDEL)
qdel(src)
// called just as an item is picked up (loc is not yet changed)
/obj/item/proc/pickup(mob/user)

View File

@@ -420,7 +420,7 @@
return
if(I == legcuffed)
legcuffed.forceMove(drop_location())
legcuffed.dropped()
legcuffed.dropped(src)
legcuffed = null
update_inv_legcuffed()
return