mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
Merge pull request #5004 from Menshin/malf_timer_fixes
Malf timer polishing/fixes
This commit is contained in:
@@ -114,6 +114,10 @@ var/global/pipe_processing_killed = 0
|
||||
if(!Failsafe) new /datum/controller/failsafe()
|
||||
|
||||
var/currenttime = world.timeofday
|
||||
|
||||
if((last_tick_timeofday - currenttime) > 1e5) //midnight rollover protection
|
||||
last_tick_timeofday -= MIDNIGHT_ROLLOVER
|
||||
|
||||
last_tick_duration = (currenttime - last_tick_timeofday) / 10
|
||||
last_tick_timeofday = currenttime
|
||||
|
||||
|
||||
Reference in New Issue
Block a user