Skip to content

Commit

Permalink
tags: Fix threatcolor tag (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
ls- authored Apr 2, 2024
1 parent 049689d commit c872822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elements/tags.lua
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ local tagStrings = {
end]],

['threatcolor'] = [[function(u)
return Hex(GetThreatStatusColor(UnitThreatSituation(u)))
return Hex(GetThreatStatusColor(UnitThreatSituation(u) or 0))
end]],
}

Expand Down

0 comments on commit c872822

Please sign in to comment.