diff --git a/modules/game_market/marketprotocol.lua b/modules/game_market/marketprotocol.lua index 4ab26a58f2..08ef44b5ca 100644 --- a/modules/game_market/marketprotocol.lua +++ b/modules/game_market/marketprotocol.lua @@ -59,8 +59,8 @@ end function MarketProtocol.sendMarketBrowse(browseId, browseType) if g_game.getFeature(GamePlayerMarket) then local msg = OutputMessage.create() + msg:addU8(ClientOpcodes.ClientMarketBrowse) if g_game.getClientVersion() >= 1251 then - msg:addU8(ClientOpcodes.ClientMarketBrowse) msg:addU8(browseId) if browseType > 0 then msg:addU16(browseType)