Adds component incompatible crash to root level so everything doesn't have to do it itself

This commit is contained in:
Jordan Brown
2018-01-15 13:46:29 -05:00
committed by GitHub
parent 5872df6499
commit 9271f46f8f

View File

@@ -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)