Makes rainbowtide a config option.

Defaults to enabling rainbowtide, even if the config entry is absent from the config file.
This commit is contained in:
MrStonedOne
2015-02-25 13:09:41 -08:00
parent 588c79873f
commit ea46fe464f
3 changed files with 11 additions and 2 deletions
+3
View File
@@ -148,6 +148,7 @@
var/assistant_cap = -1
var/starlight = 0
var/gray_assistants = 0
/datum/configuration/New()
var/list/L = typesof(/datum/game_mode) - /datum/game_mode
@@ -448,6 +449,8 @@
config.assistant_cap = text2num(value)
if("starlight")
config.starlight = 1
if("gray_assistants")
config.gray_assistants = 1
else
diary << "Unknown setting in configuration: '[name]'"