Offload vehicle purchase logic to clientside

This commit is contained in:
Vortrex
2021-12-03 10:19:43 -06:00
parent 6b1063dc51
commit 4e39061c71
4 changed files with 37 additions and 0 deletions

View File

@@ -59,6 +59,10 @@ let mouseCameraEnabled = false;
let currentPickup = false;
let vehiclePurchaseState = VRR_VEHBUYSTATE_NONE;
let vehiclePurchasing = null;
let vehiclePurchasePosition = null;
// Pre-cache all allowed skins
let allowedSkins = getAllowedSkins(getGame());