from retail

This commit is contained in:
Bunny67
2020-07-31 18:25:12 +03:00
parent 3ad99f860a
commit fde12ef78f
3 changed files with 3 additions and 5 deletions
+1 -3
View File
@@ -301,7 +301,7 @@ local barPrototype = {
end,
["UpdateAdditionalBars"] = function(self)
if (self.additionalBars) then
if (type(self.additionalBars) == "table") then
for index, additionalBar in ipairs(self.additionalBars) do
if (not self.extraTextures[index]) then
local extraTexture = self:CreateTexture(nil, "ARTWORK");
@@ -1175,8 +1175,6 @@ local function modify(parent, region, data)
end
end
max = max or 0
local path = state.icon or "Interface\\Icons\\INV_Misc_QuestionMark"
local iconPath = (
region.useAuto