added a second macro argument to STATION_TIME and STATION_TIME_TIMESTAMP.

This commit is contained in:
Ghommie
2020-01-30 02:17:02 +01:00
parent 27cd7745ed
commit 0dba1b5102
23 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ SUBSYSTEM_DEF(nightshift)
/datum/controller/subsystem/nightshift/proc/check_nightshift()
var/emergency = GLOB.security_level >= SEC_LEVEL_RED
var/announcing = TRUE
var/time = STATION_TIME(FALSE)
var/time = STATION_TIME(FALSE, world.time)
var/night_time = (time < nightshift_end_time) || (time > nightshift_start_time)
if(high_security_mode != emergency)
high_security_mode = emergency