- minor fixes to enabling a module and how updates are handled that should allow custom modules to react appropriately when they are enabled while a player has the buff they're monitoring

This commit is contained in:
Parnic
2010-09-22 00:15:35 +00:00
parent 1fa11ea3dd
commit cd50276d35
3 changed files with 10 additions and 9 deletions

View File

@ -32,9 +32,9 @@ function IceCustomCDBar.prototype:Enable(core)
self.moduleSettings.auraIconScale = 1
end
self:EnableUpdates(false)
self:UpdateCustomBar()
self:UpdateIcon()
self:EnableUpdates(false)
if self.moduleSettings.auraIconXOffset == nil then
self.moduleSettings.auraIconXOffset = 40