From 196c98e056596385baa64f41d307b46e742c8e55 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Wed, 6 Jan 2016 03:54:03 -0800 Subject: [PATCH] Fixes map loader not initializing map edited path/type vars --- code/modules/awaymissions/maploader/reader.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/awaymissions/maploader/reader.dm b/code/modules/awaymissions/maploader/reader.dm index 49948de8598..a33123bbd7a 100644 --- a/code/modules/awaymissions/maploader/reader.dm +++ b/code/modules/awaymissions/maploader/reader.dm @@ -298,6 +298,10 @@ var/global/dmm_suite/preloader/_preloader = null else if(copytext(trim_right,1,2) == "'") trim_right = file(copytext(trim_right,2,length(trim_right))) + //Check for path + else if(ispath(text2path(trim_right))) + trim_right = text2path(trim_right) + to_return[trim_left] = trim_right else//simple var