Made the round start time variable using the config.txt

This commit is contained in:
joep van der velden
2018-10-28 20:24:56 +01:00
parent 35bed9de2f
commit b332cda61d
3 changed files with 8 additions and 2 deletions
+4
View File
@@ -22,6 +22,7 @@
var/log_hrefs = 0 // logs all links clicked in-game. Could be used for debugging and tracking down exploits
var/sql_enabled = 0 // for sql switching
var/allow_admin_ooccolor = 0 // Allows admins with relevant permissions to have their own ooc colour
var/pregame_timestart = 240 // Time it takes for the server to start the game
var/allow_vote_restart = 0 // allow votes to restart
var/allow_vote_mode = 0 // allow votes to change mode
var/vote_delay = 6000 // minimum time between voting sessions (deciseconds, 10 minute default)
@@ -333,6 +334,9 @@
if("allow_admin_ooccolor")
config.allow_admin_ooccolor = 1
if("pregame_timestart")
config.pregame_timestart = text2num(value)
if("allow_vote_restart")
config.allow_vote_restart = 1