1
0
mirror of synced 2025-02-20 20:41:19 +01:00

Update game.ts

This commit is contained in:
ghkkk090 2022-08-09 08:53:05 +07:00 committed by GitHub
parent 6066de3229
commit 36dbf5e7b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2328,6 +2328,13 @@ export default class GameModule extends Module {
}
});
// Error handling if ghostLevel accidentally set to 0 or more than 10
if(car!.ghostLevel > 1){
car!.ghostLevel = 1;
}
else if(car!.ghostLevel < 10){
car!.ghostLevel = 10;
}
// This is fucking terrible
let longLoseBits = Long.fromString(car!.stLoseBits.toString());