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"]; };