diff --git a/IceStackCounter.lua b/IceStackCounter.lua index e14280a..adeb3d9 100644 --- a/IceStackCounter.lua +++ b/IceStackCounter.lua @@ -99,7 +99,6 @@ function IceStackCounter_GetOptions(frame) v = 5 end frame.moduleSettings.maxCount = tonumber(v) - frame:CreateCustomFrame(true) frame:Redraw() end, disabled = function() diff --git a/modules/CustomCount.lua b/modules/CustomCount.lua index c885343..b322955 100644 --- a/modules/CustomCount.lua +++ b/modules/CustomCount.lua @@ -183,7 +183,6 @@ function IceCustomCount.prototype:GetOptions() end, set = function(info, v) self.moduleSettings.countMode = info.option.values[v] - self:CreateCustomFrame(true) self:Redraw() IceHUD:NotifyOptionsChange() end, @@ -289,6 +288,7 @@ function IceCustomCount.prototype:Redraw() IceCustomCount.super.prototype.Redraw(self) self:CreateFrame() + self:CreateCustomFrame(true) self:UpdateCustomCount() end