Merge pull request #5361 from deathride58/nightlightfix

Fixes night lighting not going into effect properly at the start of the round
This commit is contained in:
LetterJay
2018-02-08 00:30:13 -06:00
committed by GitHub
@@ -31,6 +31,7 @@ SUBSYSTEM_DEF(nightshift)
var/nighttime = text2num(time2text(world.timeofday,"hh"))
if(!nightshift && ((nighttime >= CONFIG_GET(number/nightshift_start)) || (nighttime <= CONFIG_GET(number/nightshift_finish))))
nightshift = TRUE
updatenightlights()
. = ..()
/datum/controller/subsystem/nightshift/fire(resumed = 0)