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 } }