1
0
mirror of https://github.com/shiroikitsu8/Bayshore_6r_legacy.git synced 2025-01-31 18:15:19 +01:00

Update startup.ts

This commit is contained in:
ghkkk090 2022-08-09 10:53:38 +07:00 committed by GitHub
parent 3af1e12a11
commit 7aac3c9015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -304,7 +304,7 @@ export default class StartupModule extends Module {
car!.tuneHandling = car_crown[counter].tuneHandling;
// Error handling if played At value is current date
if(car_crown[counter].playedAt !== 0)
if(car_crown[counter].playedAt !== 0 && car_crown[counter].playedAt >= 1659805200)
{
// Acquired crown timestamp - 1 day
car!.lastPlayedAt = car_crown[counter].playedAt - 172800;