mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
remove DYNAMIC_CONFIG_FILE
Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user