Commit bf6476cf authored by Tukz's avatar Tukz
Browse files

Fix error #331

parent fb9912ea
......@@ -432,7 +432,12 @@ local OnEnter = function(self)
end
end
local R, G, B = unpack(T.Colors.class[class])
local R, G, B = 1, 1, 1
if (T.Colors.class[class]) then
R, G, B = unpack(T.Colors.class[class])
end
local Hex = T.RGBToHex(R, G, B)
local levelc = GetQuestDifficultyColor(level)
local levelhex = T.RGBToHex(levelc.r, levelc.g, levelc.b)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment