1
0
mirror of https://github.com/shiroikitsu8/Bayshore_6r_legacy.git synced 2024-12-03 19:47:17 +01:00

Revert "fix crown battle saving (5)"

This reverts commit 3591903a21.
This commit is contained in:
ghkkk090 2022-07-29 18:12:42 +07:00
parent 3591903a21
commit b01ae2e00a

View File

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