From b128a28cf38e7d0a15379fa499cb640289d1f188 Mon Sep 17 00:00:00 2001 From: oranges Date: Wed, 17 Jan 2018 09:28:25 +1300 Subject: [PATCH] Merge pull request #34477 from tgstation/Cyberboss-patch-2 Adds component incompatible crash to root level so everything doesn't have to do it itself --- 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 46ffc25643..2a0eddd75f 100644 --- a/code/datums/components/_component.dm +++ b/code/datums/components/_component.dm @@ -10,7 +10,7 @@ var/list/arguments = args.Copy(2) if(Initialize(arglist(arguments)) == COMPONENT_INCOMPATIBLE) qdel(src, TRUE, TRUE) - return + CRASH("Incompatible [type] assigned to a [P]!") _JoinParent(P)