From af0b5e14bb6132117121f754af3f96ae48397c41 Mon Sep 17 00:00:00 2001 From: vbawol Date: Thu, 8 May 2014 08:41:27 -0500 Subject: [PATCH] removed as this could actually cause more issues. --- SQF/dayz_code/compile/player_lockVault.sqf | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/SQF/dayz_code/compile/player_lockVault.sqf b/SQF/dayz_code/compile/player_lockVault.sqf index 7b5f680d4..ca684742d 100644 --- a/SQF/dayz_code/compile/player_lockVault.sqf +++ b/SQF/dayz_code/compile/player_lockVault.sqf @@ -65,15 +65,9 @@ if(!isNull _obj) then { deleteVehicle _obj; // Fill variables with loot - if (count _weapons > 0) then { - _holder setVariable ["WeaponCargo", _weapons, true]; - }; - if (count _magazines > 0) then { - _holder setVariable ["MagazineCargo", _magazines, true]; - }; - if (count _backpacks > 0) then { - _holder setVariable ["BackpackCargo", _backpacks, true]; - }; + _holder setVariable ["WeaponCargo", _weapons, true]; + _holder setVariable ["MagazineCargo", _magazines, true]; + _holder setVariable ["BackpackCargo", _backpacks, true]; cutText [format[(localize "str_epoch_player_117"),_text], "PLAIN DOWN"]; };