From fec80296d7409e7093e9700d9377dfbca12f0e78 Mon Sep 17 00:00:00 2001 From: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Date: Sun, 20 Jul 2025 20:11:06 +0200 Subject: [PATCH] Fixes dropdel embeds runtiming upon removal (#92219) ## About The Pull Request This code didn't take dropdel embeds into account ## Changelog :cl: fix: Fixed dropdel embeds runtiming upon removal /:cl: --- code/datums/embedding.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/embedding.dm b/code/datums/embedding.dm index 1762a8c70f0..dd6c044f79c 100644 --- a/code/datums/embedding.dm +++ b/code/datums/embedding.dm @@ -308,8 +308,8 @@ /// Move self to owner's turf when our limb gets removed /datum/embedding/proc/on_removed(datum/source, mob/living/carbon/old_owner) SIGNAL_HANDLER - stop_embedding() - parent.forceMove(old_owner.drop_location()) + if (!stop_embedding()) // Dropdel? + parent.forceMove(old_owner.drop_location()) /// Someone attempted to pull us out! Either the owner by inspecting themselves, or someone else by examining the owner and clicking the link. /datum/embedding/proc/rip_out(mob/living/jack_the_ripper)