#835 vehicle upgrade wipes cargo

This commit is contained in:
HARLAN
2013-12-03 14:11:56 -05:00
parent c3ed3c7085
commit 7287d03539

View File

@@ -124,7 +124,7 @@ if (_IsNearVehicle >= 1) then {
_objWpnQty = _weapons select 1;
_countr = 0;
{
_holder addweaponcargoGlobal [_x,(_objWpnQty select _countr)];
_holder addWeaponCargoGlobal [_x,(_objWpnQty select _countr)];
_countr = _countr + 1;
} forEach _objWpnTypes;
@@ -133,7 +133,7 @@ if (_IsNearVehicle >= 1) then {
_objWpnQty = _magazines select 1;
_countr = 0;
{
_holder addmagazinecargoGlobal [_x,(_objWpnQty select _countr)];
_holder addMagazineCargoGlobal [_x,(_objWpnQty select _countr)];
_countr = _countr + 1;
} forEach _objWpnTypes;
@@ -142,7 +142,7 @@ if (_IsNearVehicle >= 1) then {
_objWpnQty = _backpacks select 1;
_countr = 0;
{
_holder addbackpackcargoGlobal [_x,(_objWpnQty select _countr)];
_holder addBackpackCargoGlobal [_x,(_objWpnQty select _countr)];
_countr = _countr + 1;
} forEach _objWpnTypes;
@@ -168,4 +168,4 @@ if (_IsNearVehicle >= 1) then {
cutText [(localize "STR_EPOCH_PLAYER_27"), "PLAIN DOWN"];
};
DZE_ActionInProgress = false;
DZE_ActionInProgress = false;