fix bad class passed
This commit is contained in:
parent
df7cc26a64
commit
944b72c9e4
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue