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
@@ -15,8 +15,7 @@
/datum/component/forensics/Initialize(new_fingerprints, new_hiddenprints, new_blood_DNA, new_fibers)
if(!isatom(parent))
. = COMPONENT_INCOMPATIBLE
CRASH("Forensics datum applied incorrectly to non-atom of type [parent.type]!")
return COMPONENT_INCOMPATIBLE
fingerprints = new_fingerprints
hiddenprints = new_hiddenprints
blood_DNA = new_blood_DNA