mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 13:03:27 +02:00
Fixes to mounting, outfit randomizing, and added creature getSpeed to the lua binding.
This commit is contained in:
@@ -242,7 +242,7 @@ function Outfit.randomize()
|
||||
|
||||
for k, section in pairs(outfitTemplate) do
|
||||
section:setChecked(true)
|
||||
colorBoxes[math.random(1, #colorBoxes)]:setChecked(true)
|
||||
colorBoxes[math.random(0, #colorBoxes)]:setChecked(true)
|
||||
section:setChecked(false)
|
||||
end
|
||||
outfitTemplate[1]:setChecked(true)
|
||||
|
Reference in New Issue
Block a user