diff --git a/code/controllers/configuration/entries/game_options.dm b/code/controllers/configuration/entries/game_options.dm index 5ba38262c46..f3db9bb3159 100644 --- a/code/controllers/configuration/entries/game_options.dm +++ b/code/controllers/configuration/entries/game_options.dm @@ -380,6 +380,3 @@ min_val = 0 /datum/config_entry/flag/dynamic_config_enabled - -/datum/config_entry/string/dynamic_config_file - config_entry_value = "config/dynamic.json" diff --git a/code/game/gamemodes/dynamic/dynamic.dm b/code/game/gamemodes/dynamic/dynamic.dm index 18f83e0d85d..ee23ba9464e 100644 --- a/code/game/gamemodes/dynamic/dynamic.dm +++ b/code/game/gamemodes/dynamic/dynamic.dm @@ -290,7 +290,7 @@ GLOBAL_VAR_INIT(dynamic_forced_threat_level, -1) /datum/game_mode/dynamic/pre_setup() if(CONFIG_GET(flag/dynamic_config_enabled)) - var/json_file = file(CONFIG_GET(string/dynamic_config_file)) + var/json_file = file("config/dynamic.json") if(fexists(json_file)) configuration = json_decode(file2text(json_file)) for (var/rule in subtypesof(/datum/dynamic_ruleset)) diff --git a/config/game_options.txt b/config/game_options.txt index 60abf784bb0..82d6781708c 100644 --- a/config/game_options.txt +++ b/config/game_options.txt @@ -257,9 +257,6 @@ MAX_TICKETS_PER_ROLL 100 ## Uncomment to enable dynamic ruleset config file. DYNAMIC_CONFIG_ENABLED -## Dynamic ruleset config file location. -DYNAMIC_CONFIG_FILE "config/dynamic.json" - ## RANDOM EVENTS ### ## Comment this out to disable random events during the round. ALLOW_RANDOM_EVENTS