Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Match Blizz MirrorTimer changes #514

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Objects/MirrorButton.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ function MirrorButton:OnEvent(event, ...)

elseif event == "PLAYER_ENTERING_WORLD" then --this doesn't seem to be working as of 8.0, all report as UNKNOWN
local type, value, maxvalue, scale, paused, label
for i=1, MIRRORTIMER_NUMTIMERS do
-- This used to do a look up to grab
for i=1, 3 do
type, value, maxvalue, scale, paused, label = GetMirrorTimerInfo(i)
if type ~= "UNKNOWN" then
self:Start(type, value, maxvalue, scale, paused, label)
Expand Down