From 0bb93c3fa6082be4143d6bf1294e932fbf855fc6 Mon Sep 17 00:00:00 2001 From: Ghommie <42542238+Ghommie@users.noreply.github.com> Date: Sun, 29 Mar 2020 19:20:30 +0200 Subject: [PATCH] Ports "I got high and made a thing that was broke and 3 years, 2 months, 17 days later I get high and fix it." --- code/__HELPERS/time.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/__HELPERS/time.dm b/code/__HELPERS/time.dm index 52fe90ed2d..2e27588ae5 100644 --- a/code/__HELPERS/time.dm +++ b/code/__HELPERS/time.dm @@ -25,7 +25,8 @@ GLOBAL_VAR_INIT(midnight_rollovers, 0) 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++ + GLOB.midnight_rollovers++ + GLOB.rollovercheck_last_timeofday = world.timeofday return GLOB.midnight_rollovers /proc/weekdayofthemonth()