Skip to content

Commit

Permalink
Merge branch 'acemod:master' into update_optic_dms_weathered_kir_f
Browse files Browse the repository at this point in the history
  • Loading branch information
Laid3acK authored Nov 10, 2024
2 parents 8103546 + 40ff308 commit 55bdced
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/weaponselect/functions/fnc_selectNextGrenade.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ private _grenades = (throwables _unit) apply {_x select 0} select {_x in _grenad
// abort if no grenades are available
if (_grenades isEqualTo []) exitWith {false};

_grenades = _grenades arrayIntersect _grenades;

// get next grenade muzzle
private _nextGrenadeIndex = (_grenades find _currentGrenade) + 1;

Expand Down

0 comments on commit 55bdced

Please sign in to comment.