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

@@ -135,7 +135,7 @@ end
--- @within Ascension
function Ascension.draw_flash()
if not _flash_active then return end
_flash_timer = _flash_timer + 1
_flash_timer = _flash_timer + Context.dt60
local sw = Config.screen.width
local sh = Config.screen.height
@@ -160,7 +160,7 @@ end
--- @within Ascension
function Ascension.update_fade()
if not _fade_active then return end
_fade_timer = _fade_timer + 1
_fade_timer = _fade_timer + Context.dt60
if _fade_timer >= FADE_DURATION then
_fade_active = false
end