fix bad class passed

This commit is contained in:
Andrew6810
2022-10-28 10:05:25 -07:00
parent df7cc26a64
commit 944b72c9e4
+2 -1
View File
@@ -3,6 +3,7 @@ local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, Private
P.gridSize = 64
P.farmSize = 340
local _, myclass = UnitClass("player")
--Core
P.general = {
messageRedirect = DEFAULT_CHAT_FRAME:GetName(),
@@ -30,7 +31,7 @@ P.general = {
backdropcolor = {r = 0.1, g = 0.1, b = 0.1},
backdropfadecolor = {r = 0.06, g = 0.06, b = 0.06, a = 0.8},
valuecolor = {r = 0.99, g = 0.48, b = 0.17},
herocolor = RAID_CLASS_COLORS[E.myclass],
herocolor = RAID_CLASS_COLORS[myclass],
cropIcon = 2,
minimap = {
size = 176,