Skip to content

Commit

Permalink
Remove bad currency format
Browse files Browse the repository at this point in the history
  • Loading branch information
oiad committed Jul 9, 2017
1 parent 2793940 commit 05ee83a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions scripts/virtualGarage/player_storeVehicle.sqf
Expand Up @@ -107,7 +107,6 @@ _amount = if (_woGear) then {
} else {
(_weaponsCount + _magazineCount + _backPackCount) * vg_pricePer
};
_amount = if (z_singleCurrency) then {_amount * 10} else {_amount};

_enoughMoney = false;
_moneyInfo = [false,[],[],[],0];
Expand Down Expand Up @@ -138,7 +137,7 @@ if (_enoughMoney) then {
publicVariableServer "PVDZE_storeVehicle";
waitUntil {!isNil "PVDZE_storeVehicleResult"};

PVDZ_obj_Destroy = [_vehicleID,_vehicleUID,player];
PVDZ_obj_Destroy = [_vehicleID,_vehicleUID,player,_typeOf];
publicVariableServer "PVDZ_obj_Destroy";

deleteVehicle _vehicle;
Expand Down
1 change: 0 additions & 1 deletion scripts/virtualGarage/vehicleInfo.sqf
Expand Up @@ -60,7 +60,6 @@ if (_localVehicle) then {
ctrlShow[2851,false];
};
_price = if (_price == 0) then {localize "strwffree"} else {
_price = if (z_singleCurrency) then {_price * 10} else {_price};
if (z_singleCurrency) then {
format ["%1 %2",[_price] call BIS_fnc_numberText,currencyName]
} else {
Expand Down

0 comments on commit 05ee83a

Please sign in to comment.