Merge pull request #11685 from Ghommie/Ghommie-ci654

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."
This commit is contained in:
kevinz000
2020-03-31 18:03:28 -07:00
committed by GitHub

View File

@@ -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()