add missing stuff
This commit is contained in:
parent
fed0d55477
commit
c18762b83e
@ -191,6 +191,10 @@ export default class CarModule extends Module {
|
||||
let carTarget = await prisma.car.findFirst({
|
||||
where:{
|
||||
carId: challengers.carId
|
||||
},
|
||||
include:{
|
||||
gtWing: true,
|
||||
lastPlayedPlace: true
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -28,6 +28,10 @@ export default class GameModule extends Module {
|
||||
let car = await prisma.car.findFirst({
|
||||
where: {
|
||||
carId: body.carId
|
||||
},
|
||||
include:{
|
||||
gtWing: true,
|
||||
lastPlayedPlace: true
|
||||
}
|
||||
});
|
||||
|
||||
@ -296,6 +300,10 @@ export default class GameModule extends Module {
|
||||
let car = await prisma.car.findFirst({
|
||||
where: {
|
||||
carId: body.carId
|
||||
},
|
||||
include:{
|
||||
gtWing: true,
|
||||
lastPlayedPlace: true
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -27,6 +27,10 @@ export default class GhostModule extends Module {
|
||||
let car = await prisma.car.findFirst({
|
||||
where:{
|
||||
carId: body.carId
|
||||
},
|
||||
include:{
|
||||
gtWing: true,
|
||||
lastPlayedPlace: true
|
||||
}
|
||||
})
|
||||
|
||||
@ -69,6 +73,10 @@ export default class GhostModule extends Module {
|
||||
let carTarget = await prisma.car.findFirst({
|
||||
where:{
|
||||
carId: stampTargets[i].carId
|
||||
},
|
||||
include:{
|
||||
gtWing: true,
|
||||
lastPlayedPlace: true
|
||||
}
|
||||
})
|
||||
|
||||
@ -97,6 +105,10 @@ export default class GhostModule extends Module {
|
||||
let carTarget = await prisma.car.findFirst({
|
||||
where:{
|
||||
carId: challengers[i].carId
|
||||
},
|
||||
include:{
|
||||
gtWing: true,
|
||||
lastPlayedPlace: true
|
||||
}
|
||||
})
|
||||
|
||||
@ -153,6 +165,10 @@ export default class GhostModule extends Module {
|
||||
let carTarget = await prisma.car.findFirst({
|
||||
where:{
|
||||
carId: stampTargets[i].stampTargetCarId
|
||||
},
|
||||
include:{
|
||||
gtWing: true,
|
||||
lastPlayedPlace: true
|
||||
}
|
||||
})
|
||||
|
||||
@ -181,6 +197,10 @@ export default class GhostModule extends Module {
|
||||
let carTarget = await prisma.car.findFirst({
|
||||
where:{
|
||||
carId: challengers[i].challengerCarId
|
||||
},
|
||||
include:{
|
||||
gtWing: true,
|
||||
lastPlayedPlace: true
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -121,6 +121,10 @@ export default class TerminalModule extends Module {
|
||||
let car = await prisma.car.findFirst({
|
||||
where: {
|
||||
carId: carId
|
||||
},
|
||||
include:{
|
||||
gtWing: true,
|
||||
lastPlayedPlace: true
|
||||
}
|
||||
});
|
||||
|
||||
@ -646,6 +650,10 @@ export default class TerminalModule extends Module {
|
||||
let cars = await prisma.car.findFirst({
|
||||
where:{
|
||||
carId: ocmParticipant[i].carId
|
||||
},
|
||||
include:{
|
||||
gtWing: true,
|
||||
lastPlayedPlace: true
|
||||
}
|
||||
});
|
||||
|
||||
@ -722,6 +730,10 @@ export default class TerminalModule extends Module {
|
||||
let cars = await prisma.car.findFirst({
|
||||
where:{
|
||||
carId: ocmParticipant[i].carId
|
||||
},
|
||||
include:{
|
||||
gtWing: true,
|
||||
lastPlayedPlace: true
|
||||
}
|
||||
})
|
||||
|
||||
@ -792,6 +804,10 @@ export default class TerminalModule extends Module {
|
||||
let cars = await prisma.car.findFirst({
|
||||
where:{
|
||||
carId: ocmParticipant[i].carId
|
||||
},
|
||||
include:{
|
||||
gtWing: true,
|
||||
lastPlayedPlace: true
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -38,6 +38,10 @@ export async function sendStamp(body: wm.protobuf.SaveGameResultRequest)
|
||||
NOT:{
|
||||
userId: body.car!.userId!
|
||||
}
|
||||
},
|
||||
include:{
|
||||
gtWing: true,
|
||||
lastPlayedPlace: true
|
||||
}
|
||||
})
|
||||
|
||||
@ -130,6 +134,10 @@ export async function shuttleReturnStamp(body: wm.protobuf.SaveGameResultRequest
|
||||
NOT:{
|
||||
userId: body.car!.userId!
|
||||
}
|
||||
},
|
||||
include:{
|
||||
gtWing: true,
|
||||
lastPlayedPlace: true
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user