Adds a config option for the round end restart delay.

This should enable more murder death kill at round end before the next round starts.
New servers will default to 90 seconds while old servers will default to the old 25 seconds until they import the config option to their server.
This commit is contained in:
MrStonedOne
2015-10-26 05:04:43 -07:00
parent 3ec028fddd
commit 4f652da4bd
5 changed files with 44 additions and 3 deletions
+3
View File
@@ -15,6 +15,7 @@
var/station_name = null // station name (the name of the station in-game)
var/server_suffix = 0 // generate numeric suffix based on server port
var/lobby_countdown = 120 // In between round countdown.
var/round_end_countdown = 25 // Post round murder death kill countdown
var/log_ooc = 0 // log OOC channel
var/log_access = 0 // log login/logout
@@ -236,6 +237,8 @@
config.use_age_restriction_for_jobs = 1
if("lobby_countdown")
config.lobby_countdown = text2num(value)
if("round_end_countdown")
config.round_end_countdown = text2num(value)
if("log_ooc")
config.log_ooc = 1
if("log_access")
-1
View File
@@ -7,7 +7,6 @@ var/datum/subsystem/ticker/ticker
can_fire = 1
priority = 0
var/restart_timeout = 250 //delay when restarting server
var/current_state = GAME_STATE_STARTUP //state of current round (used by process()) Use the defines GAME_STATE_* !
var/force_ending = 0 //Round was ended by admin intervention