mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 21:13:26 +02:00
change loadUI/UI.display lua API
This commit is contained in:
@@ -5,7 +5,7 @@ local vipWindow = nil
|
||||
|
||||
-- public functions
|
||||
function VipList.create()
|
||||
vipWindow = loadUI("/viplist/viplist.otui", Game.gameRightPanel)
|
||||
vipWindow = UI.display('viplist.otui', { parent = Game.gameRightPanel })
|
||||
end
|
||||
|
||||
function VipList.destroy()
|
||||
|
Reference in New Issue
Block a user