fix crown battle saving (5)
This commit is contained in:
parent
c389a84097
commit
3591903a21
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user