mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix Error Type String, expected Array (#8871)
Pass an array instead of a string to insert.
This commit is contained in:
parent
3b79693717
commit
dd07b0fa30
@ -41,7 +41,7 @@ private _nearSupplies = [_gunner] + ((_staticWeapon nearSupplies 10) select {
|
||||
|
||||
private _compatibleMags = [_weapon] call CBA_fnc_compatibleMagazines;
|
||||
if (_magazine != "") then {
|
||||
_compatibleMags insert [0, _magazine];
|
||||
_compatibleMags insert [0, [_magazine]];
|
||||
};
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user