From 7d9ef1bccb8c5e98d991579323df4d139bb2c568 Mon Sep 17 00:00:00 2001 From: Bloop <13398309+vinylspiders@users.noreply.github.com> Date: Sun, 16 Nov 2025 12:48:28 -0500 Subject: [PATCH] Fix a flaky ci runtime (#93958) ## About The Pull Request firefox_F5RtIpll8a Enter signals are always a little iffy when it comes to things being deleted. Adds a guard against this race condition. ## Why It's Good For The Game less CI failures ## Changelog Not player-facing --- code/datums/components/food/edible.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/datums/components/food/edible.dm b/code/datums/components/food/edible.dm index b238be9f5a7..89ac68c1a16 100644 --- a/code/datums/components/food/edible.dm +++ b/code/datums/components/food/edible.dm @@ -739,6 +739,8 @@ Behavior that's still missing from this component that original food items had t ///Ability to feed food to puppers /datum/component/edible/proc/on_entered(datum/source, atom/movable/arrived, atom/old_loc, list/atom/old_locs) SIGNAL_HANDLER + if(QDELETED(parent)) + return SEND_SIGNAL(parent, COMSIG_FOOD_CROSSED, arrived, bitecount) ///Response to being used to customize something