Revert "Added a configuration option for disabling subsystems by name"

This commit is contained in:
Alffd
2019-02-09 00:17:40 -05:00
committed by GitHub
parent b61041692a
commit 42832fb8ee
3 changed files with 1 additions and 15 deletions
-3
View File
@@ -209,7 +209,6 @@
// Developer
var/developer_express_start = 0
var/developer_disable_subsystem[]
/datum/configuration/New()
for(var/T in subtypesof(/datum/game_mode))
@@ -637,8 +636,6 @@
config.disable_high_pop_mc_mode_amount = text2num(value)
if("developer_express_start")
config.developer_express_start = 1
if("developer_disable_subsystem")
config.developer_disable_subsystem = splittext(value, ",")
else
log_config("Unknown setting in configuration: '[name]'")
-6
View File
@@ -176,12 +176,6 @@ GLOBAL_REAL(Master, /datum/controller/master) = new
to_chat(world, "<span class='boldannounce'>Initializing subsystems...</span>")
// Config disable subsystem
for(var/select=1, select <= subsystems.len, select++)
for(var/disable=1, disable <= config.developer_disable_subsystem.len, disable++)
if(subsystems[select].name == config.developer_disable_subsystem[disable])
subsystems -= subsystems[select]
// Sort subsystems by init_order, so they initialize in the correct order.
sortTim(subsystems, /proc/cmp_subsystem_init)
+1 -6
View File
@@ -387,9 +387,4 @@ HIGH_POP_MC_MODE_AMOUNT 65
DISABLE_HIGH_POP_MC_MODE_AMOUNT 60
##Uncomment to enable developer start. Auto starts the server after initialization
##DEVELOPER_EXPRESS_START
##Disable subsystems by name comma delimited. Last verified 1-30-2019 list of subsystems
## Garbage, Atoms, Machines, Timer, Fires, Mobs, Nanoui, NPC AI, NPC Pool, Space Drift, Sun, Throwing, Weather,
## Atmospherics, Icon Smoothing, Overlay, Tickets, Shuttle, Night Shift, Nano-Mob Hunter GO Server
DEVELOPER_DISABLE_SUBSYSTEM
##DEVELOPER_EXPRESS_START