Skip to content

Commit

Permalink
Rearm - Fix vehicles failing rearm due to case differences (#7609)
Browse files Browse the repository at this point in the history
  • Loading branch information
redbery authored Mar 20, 2020
1 parent be3d69f commit 1f20047
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addons/rearm/functions/fnc_getTurretMagazineAmmo.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@

params ["_vehicle", "_turretPath", "_magazineClass"];

private _ammo = magazinesAllTurrets _vehicle select {(_x select 0) isEqualTo _magazineClass && {(_x select 1) isEqualTo _turretPath}} apply {_x select 2};
_ammo
magazinesAllTurrets _vehicle select {(_x select 0) == _magazineClass && {(_x select 1) isEqualTo _turretPath}} apply {_x select 2}

0 comments on commit 1f20047

Please sign in to comment.