Fix for game modes that uses old master controller process time computation.

This commit is contained in:
eswordthecat
2015-01-22 11:27:57 +08:00
parent e7ac6e0620
commit 49c84608d7
6 changed files with 33 additions and 13 deletions

View File

@@ -4,7 +4,6 @@
var/global/datum/controller/game_controller/master_controller //Set in world.New()
var/global/last_tick_timeofday = world.timeofday
var/global/last_tick_duration = 0
var/global/air_processing_killed = 0
@@ -144,10 +143,6 @@ datum/controller/game_controller/proc/setup_objects()
if (isnull(failsafe))
new /datum/controller/failsafe()
var/currenttime = world.timeofday
last_tick_duration = (currenttime - last_tick_timeofday) / 10
last_tick_timeofday = currenttime
if (processing)
iteration++
var/timer