Use new forced wanted level

This commit is contained in:
Vortrex
2022-01-06 13:36:26 -06:00
parent 13ae7a6f5a
commit 16d5343903
2 changed files with 3 additions and 1 deletions

View File

@@ -64,6 +64,8 @@ let vehiclePurchaseState = VRR_VEHBUYSTATE_NONE;
let vehiclePurchasing = null; let vehiclePurchasing = null;
let vehiclePurchasePosition = null; let vehiclePurchasePosition = null;
let forceWantedLevel = 0;
// Pre-cache all allowed skins // Pre-cache all allowed skins
let allowedSkins = getAllowedSkins(getGame()); let allowedSkins = getAllowedSkins(getGame());

View File

@@ -542,7 +542,7 @@ function processWantedLevelReset() {
} }
if(typeof localPlayer.wantedLevel != "undefined") { if(typeof localPlayer.wantedLevel != "undefined") {
localPlayer.wantedLevel = 0; localPlayer.wantedLevel = forceWantedLevel;
} }
} }