Removes redundant COMPONENT_INCOMPATIBLE crashes

This commit is contained in:
Jordan Brown
2018-04-25 06:53:43 -04:00
committed by CitadelStationBot
parent 3044f3ad3a
commit f0a259d3e5
17 changed files with 1320 additions and 30 deletions
+1 -2
View File
@@ -13,8 +13,7 @@
/datum/component/construction/Initialize()
if(!isatom(parent))
. = COMPONENT_INCOMPATIBLE
CRASH("A construction component was applied incorrectly to non-atom: [parent.type].")
return COMPONENT_INCOMPATIBLE
RegisterSignal(COMSIG_PARENT_EXAMINE, .proc/examine)
RegisterSignal(COMSIG_PARENT_ATTACKBY,.proc/action)