Merge pull request #10 from ghkkk090/master
add back what was deleted (windowsticker toogle save)
This commit is contained in:
commit
a41688e8c0
@ -305,6 +305,7 @@ export default class GameModule extends Module {
|
||||
title: body.car!.title!,
|
||||
tunePower: body.car!.tunePower!,
|
||||
tuneHandling: body.car!.tuneHandling!,
|
||||
windowSticker: body.car!.windowSticker!,
|
||||
}
|
||||
})
|
||||
await prisma.carSettings.update({
|
||||
@ -1199,6 +1200,11 @@ export default class GameModule extends Module {
|
||||
} else {
|
||||
saveEx.rivalMarker = car?.rivalMarker;
|
||||
}
|
||||
if (body.car?.windowSticker !== null && body.car?.windowSticker !== undefined) {
|
||||
saveEx.windowSticker = body.car?.windowSticker!;
|
||||
} else {
|
||||
saveEx.windowSticker = car?.windowSticker;
|
||||
}
|
||||
|
||||
await prisma.carSettings.update({
|
||||
where: {
|
||||
|
Loading…
Reference in New Issue
Block a user