Skip to content

Commit

Permalink
add a forbidden check
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuller committed Jun 22, 2024
1 parent a4490f1 commit b061848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OmniCC/core/cooldown.lua
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ function Cooldown:HideText()
end

function Cooldown:UpdateText()
if self._occ_show and self:IsVisible() then
if self._occ_show and (not self:IsForbidden()) and self:IsVisible() then
Cooldown.ShowText(self)
else
Cooldown.HideText(self)
Expand Down

0 comments on commit b061848

Please sign in to comment.