mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Rearm - Fix vehicles failing rearm due to case differences (#7609)
This commit is contained in:
parent
be3d69ff25
commit
1f20047410
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user