Merge pull request #4093 from Citadel-Station-13/upstream-merge-33045

[MIRROR] Fixes component runtimes
This commit is contained in:
deathride58
2017-11-24 00:19:42 +00:00
committed by GitHub

View File

@@ -14,7 +14,7 @@
if(!isnum(dupe_mode))
qdel(src)
CRASH("[type]: Invalid dupe_mode!")
if(!ispath(dupe_type))
if(dupe_type && !ispath(dupe_type))
qdel(src)
CRASH("[type]: Invalid dupe_type!")