Fix an error in DMMS (#3604)

Fixes a mistake in /atom/New() that breaks DMMS loading & has a minor performance impact.
This commit is contained in:
Lohikar
2017-10-14 20:04:11 +03:00
committed by Erki
parent 98378819c4
commit 5aa2a1852a
+1 -1
View File
@@ -3,7 +3,7 @@
/atom/New(loc, ...)
// For the (currently unused) DMM Suite.
if(_preloader && (src.type == _preloader.target_path))//in case the instanciated atom is creating other atoms in New()
if(use_preloader && (src.type == _preloader.target_path))//in case the instanciated atom is creating other atoms in New()
_preloader.load(src)
//. = ..() //uncomment if you are dumb enough to add a /datum/New() proc