From 5ab7990313dec47d5cfb7e0a52040d5bbdd74a7e Mon Sep 17 00:00:00 2001 From: Tad Hardesty Date: Fri, 3 Aug 2018 22:25:35 -0700 Subject: [PATCH] Fix bad vars in maps spilling over onto unrelated types (#39530) --- code/modules/mapping/reader.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mapping/reader.dm b/code/modules/mapping/reader.dm index 98da8a41b10..0112534516a 100644 --- a/code/modules/mapping/reader.dm +++ b/code/modules/mapping/reader.dm @@ -496,12 +496,12 @@ GLOBAL_DATUM_INIT(_preloader, /datum/map_preloader, new) target_path = path /datum/map_preloader/proc/load(atom/what) + GLOB.use_preloader = FALSE for(var/attribute in attributes) var/value = attributes[attribute] if(islist(value)) value = deepCopyList(value) what.vars[attribute] = value - GLOB.use_preloader = FALSE /area/template_noop name = "Area Passthrough"