Skip to content

Commit

Permalink
Merge pull request #3177 from acemod/fixJavelinZeus
Browse files Browse the repository at this point in the history
Javelin - Fix zeus RC after switchCamera
  • Loading branch information
thojkooi committed Jan 19, 2016
2 parents 6bbf481 + 67087d7 commit aa535c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addons/javelin/functions/fnc_onOpticDraw.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ _newTarget = objNull;
// Bail on fast movement
if ((velocity ACE_player) distance [0,0,0] > 0.5 && {cameraView == "GUNNER"} && {cameraOn == ACE_player}) exitWith { // keep it steady.
ACE_player switchCamera "INTERNAL";
if (player != ACE_player) then {
TRACE_2("Zeus, manually reseting RC after switchCamera",player,ACE_player);
player remoteControl ACE_player;
};
};

// Refresh the firemode
Expand Down

0 comments on commit aa535c9

Please sign in to comment.