mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 20:14:54 +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:
@@ -23,7 +23,7 @@ end
|
||||
|
||||
function PlayerDeath.reset()
|
||||
GameInterface.getMapPanel():recursiveGetChildById('centerAdvance'):hide()
|
||||
if(deathWindow) then
|
||||
if deathWindow then
|
||||
deathWindow:destroy()
|
||||
deathWindow = nil
|
||||
end
|
||||
@@ -44,7 +44,7 @@ function PlayerDeath.displayDeadMessage()
|
||||
end
|
||||
|
||||
function PlayerDeath.openWindow()
|
||||
if(deathWindow) then
|
||||
if deathWindow then
|
||||
return
|
||||
end
|
||||
deathWindow = g_ui.createWidget('DeathWindow', rootWidget)
|
||||
|
Reference in New Issue
Block a user