Skip to content

Commit af8e3cb

Browse files
committed
Adding a fallback for weakaura compatibility - if MDT does not exist 1s after entering the world, we assume we are the only addon for it and set ourselves in the global namespace there as an alias
1 parent cd4809c commit af8e3cb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

DungeonTools.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ do
187187
C_MythicPlus.RequestCurrentAffixes()
188188
C_MythicPlus.RequestMapInfo()
189189
C_MythicPlus.RequestRewards()
190+
if not MDT then
191+
MDT = DungeonTools
192+
end
190193
end)
191194
self:UnregisterEvent("PLAYER_ENTERING_WORLD")
192195
end

0 commit comments

Comments
 (0)