diff --git a/modules/game/game.lua b/modules/game/game.lua index bceb5894..ddb35e14 100644 --- a/modules/game/game.lua +++ b/modules/game/game.lua @@ -1,4 +1,5 @@ require 'textmessage' +require 'skill' require 'vip' -- private functions diff --git a/modules/game/ui/viplist.otui b/modules/game/ui/viplist.otui deleted file mode 100644 index 6df2be33..00000000 --- a/modules/game/ui/viplist.otui +++ /dev/null @@ -1,16 +0,0 @@ -VipListLabel < Label - font: tibia-10px-monochrome - margin.left: 30 - -Window - id: vipWindow - title: VIP - size: 200 200 - - TextList - id: vipList - anchors.fill: parent - margin.top: 19 - margin.bottom: 3 - margin.left: 3 - margin.right: 3 diff --git a/modules/game/vip.lua b/modules/game/vip.lua index 2224d3e2..8cc575c0 100644 --- a/modules/game/vip.lua +++ b/modules/game/vip.lua @@ -1,7 +1,7 @@ vipWindow = nil function createVipWindow() - vipWindow = loadUI("/game/ui/viplist.otui", Game.gameUi) + vipWindow = loadUI("/game/ui/vipwindow.otui", Game.gameUi) end function Game.onAddVip(id, name, online)