remove DYNAMIC_CONFIG_FILE

Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
This commit is contained in:
TheChosenEvilOne
2019-08-30 15:38:51 +03:00
parent 1f093cdd9c
commit 92424a4480
3 changed files with 1 additions and 7 deletions
@@ -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"
+1 -1
View File
@@ -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))
-3
View File
@@ -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