Fixes dropdel embeds runtiming upon removal (#92219)

## About The Pull Request

This code didn't take dropdel embeds into account

## Changelog
🆑
fix: Fixed dropdel embeds runtiming upon removal
/🆑
This commit is contained in:
SmArtKar
2025-07-30 17:37:23 -04:00
committed by Roxy
parent d09747eb87
commit fec80296d7
+2 -2
View File
@@ -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)