Completion for #764

Thanks to @conde2 for pointer it out.
This commit is contained in:
Ahmed Samy 2017-01-13 18:46:04 +02:00 committed by GitHub
parent 94d60432f3
commit deee6ed8c9
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ function create(creatureOutfit, outfitList, creatureMount, mountList)
for j=0,6 do for j=0,6 do
for i=0,18 do for i=0,18 do
local colorBox = g_ui.createWidget('ColorBox', colorBoxPanel) local colorBox = g_ui.createWidget('ColorBox', colorBoxPanel)
local outfitColor = getOufitColor(j*19 + i) local outfitColor = getOutfitColor(j*19 + i)
colorBox:setImageColor(outfitColor) colorBox:setImageColor(outfitColor)
colorBox:setId('colorBox' .. j*19+i) colorBox:setId('colorBox' .. j*19+i)
colorBox.colorId = j*19 + i colorBox.colorId = j*19 + i