mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
outfit fix
This commit is contained in:
@@ -127,7 +127,15 @@ function Outfit.create(creature, outfitList)
|
|||||||
|
|
||||||
m_creature = creature
|
m_creature = creature
|
||||||
m_outfits = outfitList
|
m_outfits = outfitList
|
||||||
|
|
||||||
currentOutfit = 1
|
currentOutfit = 1
|
||||||
|
for i=1,#outfitList do
|
||||||
|
if outfitList[i][1] == m_outfit.type then
|
||||||
|
currentOutfit = i
|
||||||
|
break
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
update()
|
update()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user