mirror of
https://github.com/shiroikitsu8/Bayshore_6r_legacy.git
synced 2025-01-19 17:58:40 +01:00
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({
|
await prisma.car.updateMany({
|
||||||
where: {
|
where: {
|
||||||
userId: userData!.userId
|
userId: userData!.userId
|
||||||
@ -1987,6 +1990,7 @@ export default class GameModule extends Module {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Get car item
|
// Get car item
|
||||||
if(body.earnedItems.length !== 0){
|
if(body.earnedItems.length !== 0){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user