1
0
mirror of synced 2024-11-12 01:10:47 +01:00

fix crown battle saving (5)

This commit is contained in:
ghkkk090 2022-07-29 18:11:39 +07:00
parent c389a84097
commit 3591903a21

View File

@ -306,10 +306,10 @@ export default class StartupModule extends Module {
}
}
for(let i=0; i<car_crown.length; i++){
if(car_crown[counter].area === 18){
if(car_crown[i].area === 18){
let car = await prisma.car.findFirst({
where: {
carId: car_crown[counter].carId
carId: car_crown[i].carId
},
include: {
gtWing: true