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:
Ghommie
2020-03-29 19:20:30 +02:00
parent 4eb2fb531a
commit 0bb93c3fa6

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