From 5aa2a1852a4ac659bf6d7af397a10d7433ff5af4 Mon Sep 17 00:00:00 2001 From: Lohikar Date: Sat, 14 Oct 2017 12:04:11 -0500 Subject: [PATCH] Fix an error in DMMS (#3604) Fixes a mistake in /atom/New() that breaks DMMS loading & has a minor performance impact. --- code/game/atoms_init.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/atoms_init.dm b/code/game/atoms_init.dm index 63b005b37ee..782d1c75599 100644 --- a/code/game/atoms_init.dm +++ b/code/game/atoms_init.dm @@ -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