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:
@@ -11,11 +11,7 @@ function PlayerMount.terminate()
|
||||
end
|
||||
|
||||
function PlayerMount.toggleMount()
|
||||
if g_game.isMounted() then
|
||||
g_game.mount(false)
|
||||
else
|
||||
g_game.mount(true)
|
||||
end
|
||||
g_game.mount(not g_game.isMounted())
|
||||
end
|
||||
|
||||
function PlayerMount.dismount()
|
||||
|
Reference in New Issue
Block a user