Skip to content

Commit

Permalink
Removed deprecated code and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Aug 19, 2024
1 parent 9a4f6b8 commit a20c87f
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions startup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -377,25 +377,6 @@ function Details222.StartUp.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)
Expand Down Expand Up @@ -438,6 +419,10 @@ function Details222.StartUp.StartMeUp()
VoidStorageBorderFrameMouseBlockFrame:Hide();
VoidStoragePurchaseFrame:Hide();
VoidStorageBorderFrame.Bg:Hide();

if (not CanUseVoidStorage()) then
VoidStoragePurchaseFrame:Show();
end
end)
VoidStorageBorderFrameMouseBlockFrame:Hide();
VoidStoragePurchaseFrame:Hide();
Expand Down

0 comments on commit a20c87f

Please sign in to comment.