mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
enable skills and vip window on right panel
This commit is contained in:
@@ -17,7 +17,8 @@ end
|
||||
-- public functions
|
||||
function Game.create()
|
||||
Game.gameUi = loadUI('/game/ui/gameinterface.otui', UI.root)
|
||||
Game.gameMapUi = Game.gameUi:getChildById('gameMap')
|
||||
Game.gameMapPanel = Game.gameUi:getChildById('mapPanel')
|
||||
Game.gameRightPanel = Game.gameUi:getChildById('rightPanel')
|
||||
Game.gameUi.onKeyPress = onGameKeyPress
|
||||
|
||||
TextMessage.create()
|
||||
@@ -33,7 +34,7 @@ end
|
||||
function Game.show()
|
||||
Game.gameUi:show()
|
||||
Game.gameUi:focus()
|
||||
Game.gameMapUi:focus()
|
||||
Game.gameMapPanel:focus()
|
||||
end
|
||||
|
||||
function Game.hide()
|
||||
|
Reference in New Issue
Block a user