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

@@ -26,6 +26,7 @@ function TIC()
Context.delta_time = (now - Context.last_frame_time) / 1000
end
Context.last_frame_time = now
Context.dt60 = Context.delta_time * 60
cls(Config.colors.black)
local handler = Window.get_current_handler() -- Get handler from Window manager