Skip to content

Commit

Permalink
Fixed dps showing wrong numbers when the combat isn't the current one
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Dec 2, 2023
1 parent f90a094 commit 74f987a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion classes/class_damage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74f987a

Please sign in to comment.