mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix undefined variable
This commit is contained in:
parent
76a20760f5
commit
5d62ab4125
@ -20,7 +20,7 @@ params ["_unit"];
|
||||
params ["_unit"];
|
||||
private _nearSupplies = (_unit nearSupplies 5) select {
|
||||
isNull (group _x) ||
|
||||
{!([_x] call EFUNC(common,isPlayer)) && {[side group _player, side group _x] call BIS_fnc_sideIsFriendly}}
|
||||
{!([_x] call EFUNC(common,isPlayer)) && {[side group _unit, side group _x] call BIS_fnc_sideIsFriendly}}
|
||||
};
|
||||
|
||||
_nearSupplies pushBack _unit;
|
||||
|
Loading…
Reference in New Issue
Block a user