Skip to content

Commit 573d982

Browse files
committed
reverting previous fix and instead removing journal opening backup code which removes the taint
1 parent 84a3b23 commit 573d982

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

Display.lua

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ function MPT:UpdateKeyInfo(Full, Deaths, preview)
227227
F.KeyInfo.Icon.Texture:SetAllPoints(F.KeyInfo.Icon)
228228
F.KeyInfo.Icon.Texture:SetTexture(icon)
229229
F.KeyInfo.Icon:EnableMouse(true)
230-
--[[
231230
F.KeyInfo.Icon:SetScript("OnEnter", function(Frame)
232231
local timelost = self:FormatTime(select(2,C_ChallengeMode.GetDeathCount())) or "0:00"
233232
local text = string.format(L["Time lost: %s"], timelost)
@@ -255,7 +254,7 @@ function MPT:UpdateKeyInfo(Full, Deaths, preview)
255254
end)
256255
F.KeyInfo.Icon:SetScript("OnLeave", function(self)
257256
GameTooltip:Hide()
258-
end)]]
257+
end)
259258
F.KeyInfo.Icon:Show()
260259
else
261260
F.KeyInfo.Icon:Hide()
@@ -451,19 +450,11 @@ function MPT:UpdateBosses(Start, count, preview)
451450
end
452451
if instanceID and instanceID ~= 0 then
453452
if not C_AddOns.IsAddOnLoaded("Blizzard_EncounterJournal") then C_AddOns.LoadAddOn("Blizzard_EncounterJournal") end
453+
EJ_SelectInstance(instanceID)
454454
for i=1, 20 do
455455
local name = EJ_GetEncounterInfoByIndex(i, instanceID)
456456
if name and name ~= "nil" then
457457
self.BossNames[i] = name
458-
elseif i < select(3, C_Scenario.GetStepInfo()) and not self.opened then
459-
EncounterJournal_OpenJournal(23, instanceID)
460-
EJ_SelectInstance(instanceID)
461-
HideUIPanel(EncounterJournal)
462-
local name = EJ_GetEncounterInfoByIndex(i, instanceID)
463-
if name then
464-
self.BossNames[i] = name
465-
self.opened = true
466-
end
467458
else
468459
break
469460
end

0 commit comments

Comments
 (0)