Skip to content

Commit

Permalink
check if HealthText is enabled when setting format before running upd…
Browse files Browse the repository at this point in the history
…ates
  • Loading branch information
Krealle committed Aug 29, 2024
1 parent ffaaf2c commit 179a90e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Widgets/Texts/HealthText.lua
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ local function HealthText_SetFormat(self, format)
self.SetValue = SetHealth_Custom
end

if not self.enabled then return end
self:Enable()
end

Expand Down

0 comments on commit 179a90e

Please sign in to comment.