mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
change loadUI/UI.display lua API
This commit is contained in:
@@ -56,7 +56,7 @@ function CharacterList.create(characters, premDays)
|
||||
charactersWindow:destroy()
|
||||
end
|
||||
|
||||
charactersWindow = UI.loadAndDisplay('/entergame/characterlist.otui')
|
||||
charactersWindow = UI.display('characterlist.otui')
|
||||
characterList = charactersWindow:getChildById('characterList')
|
||||
local accountStatusLabel = charactersWindow:getChildById('accountStatusLabel')
|
||||
charactersWindow.onKeyPress = onCharactersWindowKeyPress
|
||||
|
Reference in New Issue
Block a user