mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
change loadUI/UI.display lua API
This commit is contained in:
@@ -16,7 +16,7 @@ end
|
||||
function Game.createInterface()
|
||||
Background.hide()
|
||||
CharacterList.destroyLoadBox()
|
||||
Game.gameUi = UI.loadAndDisplay('/game/game.otui')
|
||||
Game.gameUi = UI.display('/game/game.otui')
|
||||
UI.root:moveChildToIndex(Game.gameUi, 1)
|
||||
Game.gameMapPanel = Game.gameUi:getChildById('mapPanel')
|
||||
Game.gameRightPanel = Game.gameUi:getChildById('rightPanel')
|
||||
|
Reference in New Issue
Block a user