Fixed dps showing wrong numbers when the combat isn't the current one
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
local addonName, Details222 = ...
|
||||
local version, build, date, tocversion = GetBuildInfo()
|
||||
|
||||
Details.build_counter = 12096
|
||||
Details.alpha_build_counter = 12096 --if this is higher than the regular counter, use it instead
|
||||
Details.build_counter = 12097
|
||||
Details.alpha_build_counter = 12097 --if this is higher than the regular counter, use it instead
|
||||
Details.dont_open_news = true
|
||||
Details.game_version = version
|
||||
Details.userversion = version .. " " .. Details.build_counter
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user