Fixed an issue with the loot on the end of the mythic plus panel
This commit is contained in:
@@ -171,8 +171,8 @@ function mythicDungeonCharts:OnBossDefeated()
|
||||
if (mythicLevel and mythicLevel > 0) then
|
||||
if (mythicDungeonCharts.ChartTable and mythicDungeonCharts.ChartTable.Running and bossInfo) then
|
||||
|
||||
local copiedBossInfo = Details:GetFramework().table.copy({}, bossInfo)
|
||||
table.insert(mythicDungeonCharts.ChartTable.BossDefeated, {time() - mythicDungeonCharts.ChartTable.StartTime, copiedBossInfo, currentCombat:GetCombatTime()})
|
||||
local tCopiedBossInfo = Details:GetFramework().table.copy({}, bossInfo)
|
||||
table.insert(mythicDungeonCharts.ChartTable.BossDefeated, {time() - mythicDungeonCharts.ChartTable.StartTime, tCopiedBossInfo, currentCombat:GetCombatTime()})
|
||||
mythicDungeonCharts:Debug("Boss defeated, time saved", currentCombat:GetCombatTime())
|
||||
else
|
||||
if (mythicDungeonCharts.ChartTable and mythicDungeonCharts.ChartTable.EndTime ~= -1) then
|
||||
|
||||
@@ -49,7 +49,7 @@ function DetailsMythicPlusFrame.BossDefeated(this_is_end_end, encounterID, encou
|
||||
end
|
||||
|
||||
--local zoneName, instanceType, difficultyID, difficultyName, maxPlayers, dynamicDifficulty, isDynamic, instanceMapID, instanceGroupSize = GetInstanceInfo()
|
||||
Details222.MythicPlus.OnBossDefeated(encounterID, encounterName)
|
||||
Details222.MythicPlus.OnBossDefeated(encounterID, encounterName) --data capture
|
||||
|
||||
--increase the segment number for the mythic run
|
||||
Details.MythicPlus.SegmentID = Details.MythicPlus.SegmentID + 1
|
||||
|
||||
Reference in New Issue
Block a user