From 69b1f0f246f836ec3f6aca3940b36e6f81773c7b Mon Sep 17 00:00:00 2001 From: luying Date: Mon, 15 Aug 2022 11:39:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=EF=BC=9A=E5=A4=84=E7=90=86?= =?UTF-8?q?=E8=99=9A=E6=8B=9F=E5=85=85=E5=80=BC=E6=97=A0=E6=B3=95=E6=89=BE?= =?UTF-8?q?=E5=88=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/servers/gm/handler/gmOrderHandler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/game-server/app/servers/gm/handler/gmOrderHandler.ts b/game-server/app/servers/gm/handler/gmOrderHandler.ts index e7c08dd32..538bf373a 100644 --- a/game-server/app/servers/gm/handler/gmOrderHandler.ts +++ b/game-server/app/servers/gm/handler/gmOrderHandler.ts @@ -36,6 +36,7 @@ export class GmOrderHandler { let activities: Cascader[] = []; for (let activityId of groupData.activities) { let activityData = await getActivityById(activityId); + if(!activityData) continue; let products = getActivityProducts(activityData); if(products) { let children = products.filter(cur => !!cur);