mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
change loadUI/UI.display lua API
This commit is contained in:
@@ -20,7 +20,7 @@ end
|
||||
|
||||
-- public functions
|
||||
function Chat.create()
|
||||
chatPanel = loadUI("/chat/chat.otui", Game.gameBottomPanel)
|
||||
chatPanel = UI.display('chat.otui', { parent = Game.gameBottomPanel } )
|
||||
chatBuffer = chatPanel:getChildById('chatBuffer')
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user