Fixed small bugs

This commit is contained in:
Tercio Jose
2023-05-12 17:52:17 -03:00
parent 4769914255
commit 21da70e158
7 changed files with 126 additions and 17 deletions
+19
View File
@@ -343,6 +343,25 @@ function Details:StartMeUp()
--check is this is the first run of this version
if (Details.is_version_first_run) then
local breakdownData = Details.breakdown_spell_tab
if (breakdownData) then
local spellContainerHeaders = breakdownData.spellcontainer_headers
if (spellContainerHeaders) then
if (spellContainerHeaders.overheal) then
spellContainerHeaders.overheal.enabled = true
spellContainerHeaders.overheal.width = 70
end
end
local targetContainerHeaders = breakdownData.targetcontainer_headers
if (targetContainerHeaders) then
if (targetContainerHeaders.overheal) then
targetContainerHeaders.overheal.enabled = true
targetContainerHeaders.overheal.width = 70
end
end
end
local lowerInstanceId = Details:GetLowerInstanceNumber()
if (lowerInstanceId) then
lowerInstanceId = Details:GetInstance(lowerInstanceId)