Added 944 to protocol support, minor market fix.
* Items board is now update correctly on entering market.
This commit is contained in:
		
							parent
							
								
									c4c29be272
								
							
						
					
					
						commit
						4793908657
					
				|  | @ -749,6 +749,7 @@ end | |||
| function Market.reset() | ||||
|   balanceLabel:setColor('#bbbbbb') | ||||
|   categoryList:setCurrentOption(getMarketCategoryName(MarketCategory.First)) | ||||
|   searchEdit:setText('') | ||||
|   clearFilters() | ||||
|   Market.updateCurrentItems() | ||||
| end | ||||
|  | @ -1071,6 +1072,8 @@ function Market.onMarketEnter(depotItems, offers, balance, vocation) | |||
|     MarketProtocol.silent(true) -- disable protocol messages | ||||
|     Market.refreshItemsWidget(spriteId) | ||||
|     MarketProtocol.silent(false) -- enable protocol messages | ||||
|   else | ||||
|     Market.refreshItemsWidget() | ||||
|   end | ||||
|   | ||||
|   if table.empty(currentItems) then | ||||
|  |  | |||
|  | @ -49,7 +49,7 @@ end | |||
| function g_game.getSupportedProtocols() | ||||
|   return { | ||||
|     810, 853, 854, 860, 861, 862, 870, 940, | ||||
|     953, 954, 960, 961 | ||||
|     944, 953, 954, 960, 961 | ||||
|   } | ||||
| end | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 BeniS
						BeniS