From b33afa71c2f5a534065f49544ab7c98ab50197c5 Mon Sep 17 00:00:00 2001 From: Val Voronov Date: Tue, 2 Apr 2024 08:19:34 +0700 Subject: [PATCH] tags: Fix threatcolor tag --- 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]], }