More fixes for 9.6

And add ping bindings :D
This commit is contained in:
Eduardo Bart
2012-07-30 07:59:08 -03:00
parent 05436e135a
commit 52f81c53f9
14 changed files with 73 additions and 35 deletions

View File

@@ -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

View File

@@ -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()