Don't show passenger actions for UAV crew

This commit is contained in:
PabstMirror 2015-05-17 17:52:56 -05:00
parent 53d6d4578b
commit 1e7e5c7aa5

View File

@ -25,7 +25,7 @@ _actions = [];
{ {
private ["_unit"]; private ["_unit"];
_unit = _x; _unit = _x;
if (_unit != _player) then { if ((_unit != _player) && {(getText (configFile >> "CfgVehicles" >> (typeOf _x) >> "simulation")) != "UAVPilot"}) then {
_actions pushBack _actions pushBack
[ [
[ [