Move default restart timeout to config (#24827)

* Move default restart timeout to config

* Edit comments

* Protect restart_timeout from VV edit

* Update code/controllers/configuration/sections/general_configuration.dm

Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com>

* Protected var no more

---------

Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com>
This commit is contained in:
Mikhail Dzianishchyts
2024-04-03 18:19:39 +00:00
committed by GitHub
co-authored by GDN
parent cc0eee4b4d
commit d2214dfcf8
3 changed files with 7 additions and 4 deletions
@@ -8,8 +8,10 @@
var/server_features = "Medium RP, varied species/jobs"
/// Allow character OOC notes
var/allow_character_metadata = TRUE
/// Time in seconds for the pregame lobby
/// Time in seconds for the pregame lobby. Measured in seconds
var/lobby_time = 240
/// Default timeout for world reboot. Measured in seconds
var/restart_timeout = 75
/// Ban all Guest BYOND accounts
var/guest_ban = TRUE
/// Allow players to use AntagHUD?
@@ -118,6 +120,7 @@
// Numbers
CONFIG_LOAD_NUM(lobby_time, data["lobby_time"])
CONFIG_LOAD_NUM(restart_timeout, data["restart_timeout"])
CONFIG_LOAD_NUM(base_loadout_points, data["base_loadout_points"])
CONFIG_LOAD_NUM(cryo_penalty_period, data["cryo_penalty_period"])
CONFIG_LOAD_NUM(roundstart_observer_period, data["roundstart_observer_period"])