From 98e1d10733d1189ec1f2096320ff9ae326cfd493 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Sat, 29 Jun 2024 19:54:42 -0700 Subject: [PATCH] use new unpaused FPS tracker --- timestream.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timestream.lua b/timestream.lua index ee28cbd40..c520f696b 100644 --- a/timestream.lua +++ b/timestream.lua @@ -229,7 +229,7 @@ local function adjust_activities(timeskip) end local function on_tick() - local real_fps = math.max(1, df.global.enabler.calculated_fps) + local real_fps = math.max(1, dfhack.internal.getUnpausedFps()) if real_fps >= state.settings.fps then timeskip_deficit, calendar_timeskip_deficit = 0.0, 0.0 return