mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
More fixes for 9.6
And add ping bindings :D
This commit is contained in:
@@ -380,6 +380,11 @@ function onOpenNpcTrade(items)
|
||||
addEvent(show) -- player goods has not been parsed yet
|
||||
end
|
||||
|
||||
function closeNpcTrade()
|
||||
g_game.closeNpcTrade()
|
||||
hide()
|
||||
end
|
||||
|
||||
function onCloseNpcTrade()
|
||||
hide()
|
||||
end
|
||||
|
@@ -33,7 +33,7 @@ MainWindow
|
||||
id: npcWindow
|
||||
!text: tr('NPC Trade')
|
||||
size: 550 515
|
||||
@onEscape: g_game.closeNpcTrade()
|
||||
@onEscape: modules.game_npctrade.closeNpcTrade()
|
||||
|
||||
TabButton
|
||||
id: buyTab
|
||||
@@ -264,4 +264,4 @@ MainWindow
|
||||
width: 64
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
@onClick: g_game.closeNpcTrade()
|
||||
@onClick: modules.game_npctrade.closeNpcTrade()
|
||||
|
Reference in New Issue
Block a user