Fixes component runtimes

This commit is contained in:
Jordan Brown
2017-11-23 14:12:02 -05:00
committed by CitadelStationBot
parent c76cacdf77
commit b2bb942817
+11
View File
@@ -10,6 +10,17 @@
qdel(src)
CRASH("[type] instantiated!")
<<<<<<< HEAD
=======
//check for common mishaps
if(!isnum(dupe_mode))
qdel(src)
CRASH("[type]: Invalid dupe_mode!")
if(dupe_type && !ispath(dupe_type))
qdel(src)
CRASH("[type]: Invalid dupe_type!")
>>>>>>> 807311a... Fixes component runtimes (#33045)
parent = P
var/list/arguments = args.Copy()
arguments.Cut(1, 2)