Skip to content

Commit 2efbf0b

Browse files
authored
Merge pull request #90 from LetsTimeIt/mdt-compat-wa
fix: 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. This is to fix weakaura compatibility
2 parents cd4809c + af8e3cb commit 2efbf0b

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)