timedeltafix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user