From a429a612beee08af2f5ffec15491488225dffc41 Mon Sep 17 00:00:00 2001 From: tigercat2000 Date: Fri, 6 Apr 2018 15:50:30 -0700 Subject: [PATCH] Fix compile --- code/__HELPERS/time.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/__HELPERS/time.dm b/code/__HELPERS/time.dm index 154d9631a2f..57adb01c2cb 100644 --- a/code/__HELPERS/time.dm +++ b/code/__HELPERS/time.dm @@ -34,7 +34,7 @@ * If you want to display the time for which dream daemon has been running ("round time") use worldtime2text. * If you want to display the canonical station "time" (aka the in-character time of the station) use station_time_timestamp */ -/proc/classic_worldtime2text() +/proc/classic_worldtime2text(time = world.time) time = (round_start_time ? (time - round_start_time) : (time - world.time)) return "[round(time / 36000)+12]:[(time / 600 % 60) < 10 ? add_zero(time / 600 % 60, 1) : time / 600 % 60]" @@ -200,4 +200,4 @@ GLOBAL_VAR_INIT(rollovercheck_last_timeofday, 0) /proc/update_midnight_rollover() if(world.timeofday < GLOB.rollovercheck_last_timeofday) //TIME IS GOING BACKWARDS! return GLOB.midnight_rollovers++ - return GLOB.midnight_rollovers \ No newline at end of file + return GLOB.midnight_rollovers