small revert
This commit is contained in:
@@ -189,11 +189,9 @@ 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
|
||||
return
|
||||
else
|
||||
return timer.ends - GetTime()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user