Make ZSC vars getting only checked if Z_SingleCurrency = true

This commit is contained in:
A Man
2021-08-18 17:29:12 +02:00
parent 339c14ae52
commit fa75563ae1
15 changed files with 15 additions and 15 deletions

View File

@@ -341,7 +341,7 @@ if ((playersNumber west + playersNumber civilian) == 0) exitWith {
// prevent immediate hive write when vehicle parts are set up
_object setVariable ["lastUpdate",diag_ticktime];
_object setVariable ["ObjectID", _idKey, true];
if (Z_SingleCurrency && ZSC_VehicleMoneyStorage) then {
if (Z_SingleCurrency && {ZSC_VehicleMoneyStorage}) then {
_object setVariable ["cashMoney", _storageMoney, true];
};