Shows the total initialization time

This commit is contained in:
Cyberboss
2017-02-15 11:19:20 -05:00
parent 22976bf48f
commit 0eef753fd4
2 changed files with 6 additions and 3 deletions

View File

@@ -155,7 +155,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/msg = "Initialized [name] subsystem within [time] seconds!"
var/msg = "Initialized [name] subsystem within [time] second[time == 1 ? "" : "s"]!"
world << "<span class='boldannounce'>[msg]</span>"
log_world(msg)
return time