Disable the range updating for buttons without a range.
This commit is contained in:
@@ -273,6 +273,11 @@ local function updateFunc(self)
|
||||
control:RunFor(frame, frame:GetAttribute("UpdateAutoAssist"))
|
||||
]])
|
||||
end
|
||||
|
||||
if not ActionHasRange(self.action) then
|
||||
self.rangeTimer = nil
|
||||
self.outOfRange = nil
|
||||
end
|
||||
end
|
||||
|
||||
hooksecurefunc("ActionButton_Update", updateFunc)
|
||||
|
||||
Reference in New Issue
Block a user