mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
#3175 - Javelin - Fix zeus RC after switchCamera
This commit is contained in:
parent
cea2b55d56
commit
a5c6c5579f
@ -65,6 +65,10 @@ _newTarget = objNull;
|
|||||||
// Bail on fast movement
|
// Bail on fast movement
|
||||||
if ((velocity ACE_player) distance [0,0,0] > 0.5 && {cameraView == "GUNNER"} && {cameraOn == ACE_player}) exitWith { // keep it steady.
|
if ((velocity ACE_player) distance [0,0,0] > 0.5 && {cameraView == "GUNNER"} && {cameraOn == ACE_player}) exitWith { // keep it steady.
|
||||||
ACE_player switchCamera "INTERNAL";
|
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
|
// Refresh the firemode
|
||||||
|
Loading…
Reference in New Issue
Block a user