From 83b1ab3c131c970b8c0a6ed9b9ed62decb6d92d5 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Sat, 23 May 2009 13:45:47 +0200 Subject: [PATCH] Properly refresh the range status when paging the action bar. --- ActionButton.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ActionButton.lua b/ActionButton.lua index 6b8ecd3..e2b4b54 100644 --- a/ActionButton.lua +++ b/ActionButton.lua @@ -280,10 +280,7 @@ end local function updateFunc(self) local parent = self:GetParent() if not self.BT4init or not parent.BT4BarType then return end - if oorsetting == "none" or not ActionHasRange(self.action) then - self.rangeTimer = nil - self.outOfRange = nil - end + self:UpdateRange() updateIcon(self) if self.SecureInit and not InCombatLockdown() then