From b94298897b0f5af2cac06a9c9701649378fdc661 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Mon, 27 Oct 2014 14:55:19 +0100 Subject: [PATCH] Quite a few vehicles have powers we don't have a color for. Default to "MANA" --- elements/tags.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/tags.lua b/elements/tags.lua index 4845c4e..c6c12ef 100644 --- a/elements/tags.lua +++ b/elements/tags.lua @@ -127,7 +127,7 @@ for tag, func in next, { end, ptype = function(unit) local _, type = UnitPowerType(unit) - return Hex(_COLORS.power[type]) + return Hex(_COLORS.power[type] or _COLORS.power.MANA) end, leader = function(unit) return UnitIsGroupLeader(unit) and '|cffffff00!|r' -- 1.7.9.5