1
0
mirror of synced 2025-01-20 08:52:47 +01:00

Update startup.ts

This commit is contained in:
ghkkk090 2022-08-09 10:22:31 +07:00 committed by GitHub
parent ad21e28187
commit a05f0ca34c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -313,7 +313,7 @@ export default class StartupModule extends Module {
car_crown[counter].playedAt = car_crown[counter].playedAt - 172800; car_crown[counter].playedAt = car_crown[counter].playedAt - 172800;
} }
// Error handling if played At value is 0 // Error handling if played At value is 0
else if(car_crown[counter].playedAt === 0) else if(car_crown[counter].playedAt === 0 || car_crown[counter].playedAt < 1659805200)
{ {
// Acquired crown timestamp become 7 August 2022 // Acquired crown timestamp become 7 August 2022
car!.lastPlayedAt = 1659805200; car!.lastPlayedAt = 1659805200;