Skip to content

Commit

Permalink
Fixes some magazines not being found leading to duplication (#7760)
Browse files Browse the repository at this point in the history
  • Loading branch information
redbery committed Jun 15, 2020
1 parent 3d6a558 commit 7da977a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/rearm/functions/fnc_setTurretMagazineAmmo.sqf
Expand Up @@ -57,7 +57,7 @@ if (!_magLoadedInWeapon) then {
* To prevent that, we must remove all magazines that would fit into the weapon and then add
* them back with the magazine-to-be-loaded being the first. */

private _allowedMagClassesInWeapon = [_loadedWeapon] call CBA_fnc_compatibleMagazines;
private _allowedMagClassesInWeapon = [_loadedWeapon, true] call CBA_fnc_compatibleMagazines;

/* Current ammo counts of all allowed magazine classes in weapon.
* Example: [["8Rnd_82mm_Mo_shells", [8, 8, 2]], ["8Rnd_82mm_Mo_Flare_white", [7]]] */
Expand Down

0 comments on commit 7da977a

Please sign in to comment.