mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
npctrade closing trade and focusing window
This commit is contained in:
@@ -201,9 +201,6 @@ end
|
||||
|
||||
-- public functions
|
||||
function NPCTrade.init()
|
||||
cacheItems = {}
|
||||
cacheGoods = {}
|
||||
|
||||
npcWindow = displayUI('npctrade.otui')
|
||||
npcWindow:setVisible(false)
|
||||
|
||||
@@ -292,6 +289,7 @@ function NPCTrade.show()
|
||||
|
||||
npcWindow:show()
|
||||
npcWindow:raise()
|
||||
npcWindow:focus()
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user