From ca9ac1bdc1c89586784e65fe1fbe3cdf3a627d56 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Thu, 8 Feb 2018 15:42:07 -0800 Subject: [PATCH 1/2] Fixes map configuration values for nonexistent maps applying to box This caused box'es min pop to get set to 50 because all of the servers still had cere defined with that limitation. --- code/controllers/configuration/configuration.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/controllers/configuration/configuration.dm b/code/controllers/configuration/configuration.dm index c05221944b..238718b682 100644 --- a/code/controllers/configuration/configuration.dm +++ b/code/controllers/configuration/configuration.dm @@ -239,6 +239,7 @@ currentmap = new ("_maps/[data].json") if(currentmap.defaulted) log_config("Failed to load map config for [data]!") + currentmap = null if ("minplayers","minplayer") currentmap.config_min_users = text2num(data) if ("maxplayers","maxplayer")