Merge pull request #14440 from MrStonedOne/patch-119

Fixes map loader not initializing map edited path/type vars
This commit is contained in:
tkdrg
2016-01-07 20:28:56 -03:00
@@ -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