From 93b484566e3ee0b44b01e8bd1ddee1a6fa856c9c Mon Sep 17 00:00:00 2001 From: luying Date: Tue, 4 Jul 2023 11:24:17 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(=E6=8B=8D=E5=8D=96=E8=A1=8C)?= =?UTF-8?q?:=20=E6=8E=A8=E9=80=81=E5=8E=BB=E9=87=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/auctionService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/services/auctionService.ts b/game-server/app/services/auctionService.ts index 9746f1d5f..be507931a 100644 --- a/game-server/app/services/auctionService.ts +++ b/game-server/app/services/auctionService.ts @@ -496,7 +496,7 @@ export async function pushAuctionOver(lot: LotType) { export async function pushAuctionUpdate(lots: LotType[], dividends: DividendType[]) { let serverIds: number[] = []; for(let lot of lots) { - serverIds.push(lot.serverId); + if(serverIds.indexOf(lot.serverId) == -1) serverIds.push(lot.serverId); } for(let serverId of serverIds) {