Use new forced wanted level
This commit is contained in:
@@ -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());
|
||||||
|
|
||||||
|
|||||||
@@ -542,7 +542,7 @@ function processWantedLevelReset() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(typeof localPlayer.wantedLevel != "undefined") {
|
if(typeof localPlayer.wantedLevel != "undefined") {
|
||||||
localPlayer.wantedLevel = 0;
|
localPlayer.wantedLevel = forceWantedLevel;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user