Fixes some midnight rollover errors in the mc (#24486)

* Update subsystem.dm

* Update master.dm

* that should stay time of day
This commit is contained in:
Kyle Spier-Swenson
2017-02-28 00:58:12 -08:00
committed by AnturK
parent 82462a7ac3
commit 2c1db7eba4
2 changed files with 10 additions and 10 deletions

View File

@@ -154,7 +154,7 @@
//used to initialize the subsystem AFTER the map has loaded
/datum/subsystem/proc/Initialize(start_timeofday)
var/time = (world.timeofday - start_timeofday) / 10
var/time = (REALTIMEOFDAY - start_timeofday) / 10
var/msg = "Initialized [name] subsystem within [time] second[time == 1 ? "" : "s"]!"
world << "<span class='boldannounce'>[msg]</span>"
log_world(msg)
@@ -215,4 +215,4 @@
/datum/subsystem/proc/StartLoadingMap()
//when we exit dmm_suite.load_map
/datum/subsystem/proc/StopLoadingMap()
/datum/subsystem/proc/StopLoadingMap()