From c97d068c8cf0a5f3818a8e81c94d258f0db7a27a Mon Sep 17 00:00:00 2001 From: Verkister Date: Thu, 6 Apr 2023 20:19:26 +0300 Subject: [PATCH] Smacks the naughty artifact master *moan Liberates CI checks from that one runtime error we all love. --- code/datums/components/_component.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/_component.dm b/code/datums/components/_component.dm index 2e177c8ff3..781a76f20f 100644 --- a/code/datums/components/_component.dm +++ b/code/datums/components/_component.dm @@ -74,7 +74,7 @@ /datum/component/Destroy(force=FALSE, silent=FALSE) if(!force && parent) _RemoveFromParent() - if(!silent) + if(parent && !silent) //CHOMPEdit SEND_SIGNAL(parent, COMSIG_COMPONENT_REMOVING, src) parent = null return ..()