Fixed window statistics no opening, more debug for the wipe segments handle
This commit is contained in:
@@ -584,8 +584,18 @@ function Details222.Combat.AddCombat(combatToBeAdded)
|
||||
Details:Msg("bRunOkay2 Error > failed to get amount of segments in this boss > ", result)
|
||||
else
|
||||
local segmentRemoveResult = ""
|
||||
if (type(result) ~= "number") then
|
||||
Details:Msg("result of bRunOkay2 isn't a number | result: ", result, type(result))
|
||||
end
|
||||
|
||||
local bRunOkay3, errorText3 = pcall(function()
|
||||
local amountOfSegmentsInThisBoss = result
|
||||
|
||||
if (not Details.segments_amount_boss_wipes) then
|
||||
Details:Msg("Details.segments_amount_boss_wipes isn't a number, issue with profile? ", type(Details.segments_amount_boss_wipes))
|
||||
Details:Msg("on default profile:", Details.default_profile.segments_amount_boss_wipes)
|
||||
end
|
||||
|
||||
if (amountOfSegmentsInThisBoss > Details.segments_amount_boss_wipes) then
|
||||
---@type combat[]
|
||||
local allSegmentsWithThisBoss = {}
|
||||
|
||||
Reference in New Issue
Block a user