Commit 779acdd1 authored by Simpy's avatar Simpy 🐹
Browse files

we need to skip it here during item level lock too

parent 5300f9d2
......@@ -1120,9 +1120,12 @@ function Update(self, fromUpdateConfig)
-- Update icon and hotkey
local texture = self:GetTexture()
-- Cooldown desaturate can control saturation, we don't want to override it here
local allowSaturation = not self.saturationLocked and not self.LevelLinkLockIcon:IsShown()
-- Zone ability button handling
self.zoneAbilityDisabled = false
if not self.saturationLocked then
if allowSaturation then
if self._state_type == "action" then
......@@ -1133,7 +1136,8 @@ function Update(self, fromUpdateConfig)
if name == abilityName then
texture = GetLastZoneAbilitySpellTexture()
self.zoneAbilityDisabled = true
if not self.saturationLocked then
if allowSaturation then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment