From 5ee69febab24054e09d647b0d3d85861dd4b3d10 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 7 Dec 2021 14:31:05 +0100 Subject: [PATCH] [MIRROR] Fixes away mission not loading from config [MDB IGNORE] (#9930) * Fixes away mission not loading from config (#63267) generateMapList started auto filling the config directory ever since the security PR. fix: Fixed away missions not loading when the config was enabled. * Fixes away mission not loading from config Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com> --- code/modules/awaymissions/zlevel.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/awaymissions/zlevel.dm b/code/modules/awaymissions/zlevel.dm index 3c91fafdfc9..31ccdfa2119 100644 --- a/code/modules/awaymissions/zlevel.dm +++ b/code/modules/awaymissions/zlevel.dm @@ -1,5 +1,5 @@ // How much "space" we give the edge of the map -GLOBAL_LIST_INIT(potentialRandomZlevels, generateMapList(filename = "[global.config.directory]/awaymissionconfig.txt")) +GLOBAL_LIST_INIT(potentialRandomZlevels, generateMapList(filename = "awaymissionconfig.txt")) GLOBAL_LIST_INIT(potentialConfigRandomZlevels, generateConfigMapList(directory = "[global.config.directory]/away_missions/")) /proc/createRandomZlevel(config_gateway = FALSE)