Removes redundant COMPONENT_INCOMPATIBLE crashes

This commit is contained in:
Jordan Brown
2018-04-25 05:54:41 -05:00
committed by CitadelStationBot
parent 3044f3ad3a
commit f0a259d3e5
17 changed files with 1320 additions and 30 deletions
+1 -2
View File
@@ -7,8 +7,7 @@
/datum/component/knockoff/Initialize(knockoff_chance,zone_override,slots_knockoffable)
if(!isitem(parent))
. = COMPONENT_INCOMPATIBLE
CRASH("Knockoff component misuse")
return COMPONENT_INCOMPATIBLE
RegisterSignal(COMSIG_ITEM_EQUIPPED,.proc/OnEquipped)
RegisterSignal(COMSIG_ITEM_DROPPED,.proc/OnDropped)