mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
skip magazines with no ammo
This commit is contained in:
parent
1cf254a752
commit
3c767c6025
@ -37,6 +37,8 @@ private _fnc_addAmmo = {
|
||||
{
|
||||
_x params ["_xMag", "", "_xAmmo"];
|
||||
|
||||
if (_xAmmo <= 0) then {continue};
|
||||
|
||||
private _carryMag = _xMag call FUNC(getCarryMagazine);
|
||||
if (_carryMag isEqualTo "") then {continue};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user