Adds SHOULD_NOT_SLEEP to Destroy. Why didn't we do this before. (#61943)

This commit is contained in:
LemonInTheDark
2021-10-09 04:29:33 -07:00
committed by GitHub
parent 861bf808bc
commit e663308b0d
11 changed files with 54 additions and 32 deletions
@@ -164,7 +164,7 @@
UnregisterSignal(attached_item, COMSIG_PARENT_QDELETING)
qdel(attached_item)
else if (user)
user.put_in_hands(attached_item)
INVOKE_ASYNC(user, /mob/proc/put_in_hands, attached_item)
else
attached_item.forceMove(drop_location())
if (throwing && !QDELETED(attached_item)) //Fun little thing where we throw out the old attached item when emagged