mirror of
https://github.com/shiroikitsu8/Bayshore_6r_legacy.git
synced 2024-12-03 19:47:17 +01:00
Update game.ts
This commit is contained in:
parent
11e13fd606
commit
ad21e28187
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user