From d200b354fc49e83efae431be93cd1467a4f5f8d2 Mon Sep 17 00:00:00 2001 From: ghkkk090 Date: Sun, 18 Sep 2022 07:25:03 +0700 Subject: [PATCH] fix ocm tally --- src/util/ghost/ghost_ocm.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/ghost/ghost_ocm.ts b/src/util/ghost/ghost_ocm.ts index c53a141..7abf3fd 100644 --- a/src/util/ghost/ghost_ocm.ts +++ b/src/util/ghost/ghost_ocm.ts @@ -125,6 +125,7 @@ export async function ocmTallying(body: wm.protobuf.LoadGhostCompetitionInfoRequ // Check if someone is retiring or use cheat engine time up let checkPlayRecord = await prisma.oCMPlayRecord.findMany({ where:{ + competitionId: body.competitionId, NOT: { carId:{ in: arr } }