Update game.ts
This commit is contained in:
parent
7959163c5c
commit
2f9ad45902
@ -1977,7 +1977,10 @@ export default class GameModule extends Module {
|
||||
}
|
||||
})
|
||||
|
||||
if(userData!.windowStickerString !== saveEx.windowStickerString){
|
||||
if (body.car?.windowStickerString !== null && body.car?.windowStickerString !== undefined)
|
||||
{
|
||||
if(userData!.windowStickerString !== saveEx.windowStickerString)
|
||||
{
|
||||
await prisma.car.updateMany({
|
||||
where: {
|
||||
userId: userData!.userId
|
||||
@ -1987,6 +1990,7 @@ export default class GameModule extends Module {
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
// Get car item
|
||||
if(body.earnedItems.length !== 0){
|
||||
|
Loading…
x
Reference in New Issue
Block a user