Fix implementation error for manually managed timers

This commit is contained in:
2026-09-21 23:51:29 -06:00
parent 87a5b86e69
commit ac3ee1bbe8
+4 -2
View File
@@ -59,8 +59,10 @@ return {
update = function(delta)
local expired = {}
for timer in pairs(timers) do
if timer:update(delta) then
expired[timer] = true
if not timer.manual then
if timer:update(delta) then
expired[timer] = true
end
end
end
for timer in pairs(expired) do