From c872822f26db0faa26ab00223ecde2e42691f50f Mon Sep 17 00:00:00 2001 From: Val Voronov Date: Tue, 2 Apr 2024 12:58:01 +0700 Subject: [PATCH] tags: Fix threatcolor tag (#674) --- elements/tags.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/tags.lua b/elements/tags.lua index 6cedbe73..58c91ade 100644 --- a/elements/tags.lua +++ b/elements/tags.lua @@ -468,7 +468,7 @@ local tagStrings = { end]], ['threatcolor'] = [[function(u) - return Hex(GetThreatStatusColor(UnitThreatSituation(u))) + return Hex(GetThreatStatusColor(UnitThreatSituation(u) or 0)) end]], }