mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
change loadUI/UI.display lua API
This commit is contained in:
@@ -6,7 +6,7 @@ local skills = {"Fist Fighting", "Club Fighting", "Sword Fighting", "Axe Fightin
|
||||
|
||||
-- public functions
|
||||
function Skills.create()
|
||||
skillWindow = loadUI("/skills/skills.otui", Game.gameRightPanel)
|
||||
skillWindow = UI.display('skills.otui', { parent = Game.gameRightPanel })
|
||||
|
||||
local skillPanel = skillWindow:getChildById('skillPanel')
|
||||
|
||||
|
Reference in New Issue
Block a user