mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 03:24:55 +02:00
Implemented the mount interface, Fixed some interface stuff, Some cosmetics, and Updated the outfits window
* Added new arrow buttons. * Fixed the vertical separator. * Added new game_playermount module to handle player mounting. * Moved the battle icons to /images. * Outfit window accommodates for mounts, loads addons more efficiently and keeps addons set on update, added new Outfit.randomize function that allows you to randomize your outfit colors, and set up a new layout.
This commit is contained in:
@@ -35,7 +35,7 @@ end
|
||||
function g_mouse.bindAutoPress(widget, callback, delay, button)
|
||||
local button = button or MouseLeftButton
|
||||
connect(widget, { onMousePress = function(widget, mousePos, mouseButton)
|
||||
if(mouseButton ~= button) then
|
||||
if mouseButton ~= button then
|
||||
return false
|
||||
end
|
||||
local startTime = g_clock.millis()
|
||||
|
Reference in New Issue
Block a user