Skip to content

Commit

Permalink
Remove the 1s-after-world-loaded event, replace it with the optional …
Browse files Browse the repository at this point in the history
…reset
  • Loading branch information
srenauld committed Jan 4, 2021
1 parent d4bb187 commit 60fc783
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 0 additions & 3 deletions DungeonTools.lua
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,6 @@ do
C_MythicPlus.RequestCurrentAffixes()
C_MythicPlus.RequestMapInfo()
C_MythicPlus.RequestRewards()
if not MDT then
MDT = DungeonTools
end
end)
self:UnregisterEvent("PLAYER_ENTERING_WORLD")
end
Expand Down
5 changes: 5 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
local AddonName, MDT = ...
_G["DungeonTools"] = MDT

if not _G["MDT"] then
_G["MDT"] = MDT
end

local _L = {}
MDT.L = {}
local i18nMetaTable = {
Expand Down

0 comments on commit 60fc783

Please sign in to comment.