Update AceTimer-3.0.lua

This commit is contained in:
Bunny67
2021-04-12 19:56:44 +03:00
parent a8fb4bc267
commit 5c2ac0f61c
@@ -189,6 +189,8 @@ end
-- @param id The id of the timer, as returned by `:ScheduleTimer` or `:ScheduleRepeatingTimer`
-- @return The time left on the timer.
function AceTimer:TimeLeft(id)
if not id then return end
local timer = activeTimers[id]
if not timer then
return 0