Skip to content

Commit a20c87f

Browse files
committed
Removed deprecated code and fixes
1 parent 9a4f6b8 commit a20c87f

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

startup.lua

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -377,25 +377,6 @@ function Details222.StartUp.StartMeUp()
377377

378378
--check is this is the first run of this version
379379
if (Details.is_version_first_run) then
380-
local breakdownData = Details.breakdown_spell_tab
381-
if (breakdownData) then
382-
local spellContainerHeaders = breakdownData.spellcontainer_headers
383-
if (spellContainerHeaders) then
384-
if (spellContainerHeaders.overheal) then
385-
spellContainerHeaders.overheal.enabled = true
386-
spellContainerHeaders.overheal.width = 70
387-
end
388-
end
389-
390-
local targetContainerHeaders = breakdownData.targetcontainer_headers
391-
if (targetContainerHeaders) then
392-
if (targetContainerHeaders.overheal) then
393-
targetContainerHeaders.overheal.enabled = true
394-
targetContainerHeaders.overheal.width = 70
395-
end
396-
end
397-
end
398-
399380
local lowerInstanceId = Details:GetLowerInstanceNumber()
400381
if (lowerInstanceId) then
401382
lowerInstanceId = Details:GetInstance(lowerInstanceId)
@@ -438,6 +419,10 @@ function Details222.StartUp.StartMeUp()
438419
VoidStorageBorderFrameMouseBlockFrame:Hide();
439420
VoidStoragePurchaseFrame:Hide();
440421
VoidStorageBorderFrame.Bg:Hide();
422+
423+
if (not CanUseVoidStorage()) then
424+
VoidStoragePurchaseFrame:Show();
425+
end
441426
end)
442427
VoidStorageBorderFrameMouseBlockFrame:Hide();
443428
VoidStoragePurchaseFrame:Hide();

0 commit comments

Comments
 (0)