Fix for function call on the new trash boss segments cleanup

This commit is contained in:
Tercio Jose
2024-07-16 11:11:46 -03:00
committed by andrew6180
parent 49898ca837
commit 74bcd28edf
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -19,8 +19,8 @@
local addonName, Details222 = ...
local version = GetBuildInfo()
Details.build_counter = 12809
Details.alpha_build_counter = 12809 --if this is higher than the regular counter, use it instead
Details.build_counter = 12810
Details.alpha_build_counter = 12810 --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
+1 -1
View File
@@ -579,7 +579,7 @@ function Details222.Combat.AddCombat(combatToBeAdded)
--is the wipe counter saved in the details database?
if (IsInRaid() and Details.zone_type == "raid") then --filter only for raids
local bRunOkay2, result = getAmountOfSegmentsInThisBoss(combatToBeAdded)
local bRunOkay2, result = pcall(getAmountOfSegmentsInThisBoss, combatToBeAdded)
if (not bRunOkay2) then
Details:Msg("bRunOkay2 Error > failed to get amount of segments in this boss > ", result)
else