timedeltafix

This commit is contained in:
2026-05-07 21:46:46 +02:00
parent b353a96bfb
commit 6055b74ccf
13 changed files with 34 additions and 30 deletions

View File

@@ -28,7 +28,7 @@ function Timer.update()
local in_minigame = string.find(Window.get_current_id(), "^minigame_") ~= nil
if not in_minigame then
t.progress = t.progress + (1 / timer_duration)
t.progress = t.progress + (Context.delta_time / (timer_duration / 60))
if t.progress >= 1 then
t.progress = t.progress - 1
end