mirror of
https://github.com/shiroikitsu8/Bayshore_6r_legacy.git
synced 2024-11-28 09:20:54 +01:00
hopefully fix ocm HoF
This commit is contained in:
parent
1ea17a1abf
commit
cf4fd399f6
@ -300,11 +300,11 @@ export async function ocmTallying(body: wm.protobuf.LoadGhostCompetitionInfoRequ
|
||||
// Get the Top 1 Advantage
|
||||
if(top1advantage === null)
|
||||
{
|
||||
top1advantage = OCMTally[i].result;
|
||||
top1advantage = OCMTally[0].result;
|
||||
|
||||
let getTrail = await prisma.oCMGhostTrail.findFirst({
|
||||
where:{
|
||||
carId: OCMTally[i].carId,
|
||||
carId: OCMTally[0].carId,
|
||||
competitionId: body.competitionId,
|
||||
ocmMainDraw: true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user