Skip to content

Commit 60fc783

Browse files
committed
Remove the 1s-after-world-loaded event, replace it with the optional reset
1 parent d4bb187 commit 60fc783

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

DungeonTools.lua

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

init.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
local AddonName, MDT = ...
22
_G["DungeonTools"] = MDT
3+
4+
if not _G["MDT"] then
5+
_G["MDT"] = MDT
6+
end
7+
38
local _L = {}
49
MDT.L = {}
510
local i18nMetaTable = {

0 commit comments

Comments
 (0)