hide npctrade on game end
This commit is contained in:
parent
0fe5491635
commit
057727f5af
|
@ -55,7 +55,8 @@ function NPCTrade.init()
|
|||
radioTabs:selectWidget(buyTab)
|
||||
radioTabs.onSelectionChange = NPCTrade.setList
|
||||
|
||||
connect(g_game, { onOpenNpcTrade = NPCTrade.onOpenNpcTrade,
|
||||
connect(g_game, { onGameEnd = NPCTrade.hide,
|
||||
onOpenNpcTrade = NPCTrade.onOpenNpcTrade,
|
||||
onPlayerGoods = NPCTrade.onPlayerGoods,
|
||||
onCloseNpcTrade = NPCTrade.onCloseNpcTrade } )
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue