1
0
mirror of https://github.com/shiroikitsu8/Bayshore_6r_legacy.git synced 2024-12-11 23:25:58 +01:00

Update game.ts

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

View File

@ -2345,10 +2345,10 @@ export default class GameModule extends Module {
}); });
// Error handling if ghostLevel accidentally set to 0 or more than 10 // Error handling if ghostLevel accidentally set to 0 or more than 10
if(car!.ghostLevel > 1){ if(car!.ghostLevel < 1){
car!.ghostLevel = 1; car!.ghostLevel = 1;
} }
else if(car!.ghostLevel < 10){ else if(car!.ghostLevel > 11){
car!.ghostLevel = 10; car!.ghostLevel = 10;
} }