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 8, 2024
1 parent 441d937 commit da9c0c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/disposable/fnc_replaceMagazineCargo.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if (magazineCargo _box arrayIntersect GVAR(magazines) isEqualTo []) exitWith {};
private _magazines = magazinesAmmoCargo _box;
clearMagazineCargoGlobal _box;

private _isBackpack = getNumber (configOf _box >> "isBackpack") != -1;
private _isBackpack = getNumber (configOf _box >> "isBackpack") == 1;

{
_x params ["_magazine", "_ammo"];
Expand Down

0 comments on commit da9c0c4

Please sign in to comment.