Fixed dps showing wrong numbers when the combat isn't the current one

This commit is contained in:
Tercio Jose
2023-12-01 22:14:36 -03:00
parent f90a094e54
commit 74f987ab95
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2736,7 +2736,7 @@ function damageClass:RefreshLine(instanceObject, lineContainer, whichRowLine, ra
percentString = format("%.1f", self[keyName] / instanceObject.top * 100)
end
local currentCombat = Details:GetCurrentCombat()
local currentCombat = instanceObject:GetCombat()
if (currentCombat:GetCombatType() == DETAILS_SEGMENTTYPE_MYTHICDUNGEON_OVERALL) then
if (Details.mythic_plus.mythicrun_time_type == 1) then