Commit a5e92f04 authored by Blazeflack's avatar Blazeflack
Browse files

Allow a little wiggle room in the delayed saturate update

parent ffd097e7
......@@ -1138,7 +1138,7 @@ end
local function DelayedSaturate(button)
--We probably need to check cooldown here again just in case something
--caused the action to come off cooldown early and we then activated it again
if GetCooldownLeft(button) <= 0 then
if GetCooldownLeft(button) <= 0.1 then --Allow some wiggle room
button.icon:SetDesaturated(false)
end
end
......
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