Update game.ts
This commit is contained in:
parent
6066de3229
commit
36dbf5e7b0
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user