Common - Handle changes to UAVControl command (multi seat) (#7161)

This commit is contained in:
PabstMirror 2019-09-03 19:05:45 -05:00 committed by GitHub
parent 63dbdab0ae
commit 0fa8330833
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -312,7 +312,7 @@ addMissionEventHandler ["PlayerViewChanged", {
if (isNull player) exitWith {true};
private _UAV = getConnectedUAV player;
if (!alive player) then {_UAV = objNull;};
private _position = (UAVControl _UAV) param [1, ""];
private _position = [player] call FUNC(getUavControlPosition);
private _seatAI = objNull;
private _turret = [];
switch (toLower _position) do {