mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix weapon select grenade count wehn using advThrow (#5244)
This commit is contained in:
parent
48680d1123
commit
8bb92cee6f
@ -20,7 +20,7 @@ TRACE_10("firedEH:",_unit, _weapon, _muzzle, _mode, _ammo, _magazine, _projectil
|
||||
|
||||
if (_weapon != "Throw") exitWith {};
|
||||
|
||||
private _count = {_x == _magazine} count magazines _unit;
|
||||
private _count = ({_x == _magazine} count uniformItems _unit) + ({_x == _magazine} count vestItems _unit) + ({_x == _magazine} count backpackItems _unit);
|
||||
|
||||
[_magazine, _count] call FUNC(displayGrenadeTypeAndNumber);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user