mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
[MIRROR] Adds SHOULD_NOT_SLEEP to Destroy. Why didn't we do this before. [MDB IGNORE] (#8714)
* Adds SHOULD_NOT_SLEEP to Destroy. Why didn't we do this before. (#61943) * Adds SHOULD_NOT_SLEEP to Destroy. Why didn't we do this before. Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
@@ -128,13 +128,13 @@
|
||||
M.adjustBruteLoss(30)
|
||||
src.visible_message(span_danger("[M] falls free of [src]!"))
|
||||
unbuckle_mob(M,force=1)
|
||||
M.emote("scream")
|
||||
INVOKE_ASYNC(M, /mob/proc/emote, "scream")
|
||||
M.AdjustParalyzed(20)
|
||||
|
||||
/obj/structure/kitchenspike/Destroy()
|
||||
if(has_buckled_mobs())
|
||||
for(var/mob/living/L in buckled_mobs)
|
||||
release_mob(L)
|
||||
for(var/mob/living/spiked_lad as anything in buckled_mobs)
|
||||
release_mob(spiked_lad)
|
||||
return ..()
|
||||
|
||||
/obj/structure/kitchenspike/deconstruct(disassembled = TRUE)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user