Update AceTimer-3.0.lua
This commit is contained in:
@@ -189,6 +189,8 @@ end
|
|||||||
-- @param id The id of the timer, as returned by `:ScheduleTimer` or `:ScheduleRepeatingTimer`
|
-- @param id The id of the timer, as returned by `:ScheduleTimer` or `:ScheduleRepeatingTimer`
|
||||||
-- @return The time left on the timer.
|
-- @return The time left on the timer.
|
||||||
function AceTimer:TimeLeft(id)
|
function AceTimer:TimeLeft(id)
|
||||||
|
if not id then return end
|
||||||
|
|
||||||
local timer = activeTimers[id]
|
local timer = activeTimers[id]
|
||||||
if not timer then
|
if not timer then
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user