Skip to content

Commit

Permalink
Update fnc_replaceMagazineCargo.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb432 committed May 4, 2024
1 parent f648421 commit e6bf568
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/disposable/fnc_replaceMagazineCargo.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ if (!local _container) exitWith {};
if (missionNamespace getVariable [QGVAR(disableMagazineReplacement), false]) exitWith {};

private _containers = everyBackpack _container;
if (_container isKindOf "CaManBase") then {

if (_container isKindOf "CAManBase") then {
_containers append ([uniformContainer _container, vestContainer _container, backpackContainer _container] select {!isNull _x});
};

Expand Down

0 comments on commit e6bf568

Please sign in to comment.