Fix for CameraView Check

This commit is contained in:
He-Man 2017-11-05 01:26:19 +01:00
parent 0e2af36da9
commit 224032abb7
2 changed files with 5 additions and 3 deletions

View File

@ -411,6 +411,11 @@ if(getNumber(('CfgEpochClient' call EPOCH_returnConfig) >> 'mapOnZoomSetMarkerSi
};
};
// prevents use of group view
if (cameraview isequalto "GROUP") then {
vehicle player switchCamera "Internal";
};
// force update
if (EPOCH_forceUpdateNow) then {
EPOCH_forceUpdateNow = false;

View File

@ -86,9 +86,6 @@ EPOCH_maxBuildingHeight = getNumber(_CfgEpochClient >> "maxBuildingHeight");
//ON INIT and RESPAWN
call EPOCH_clientInit;
// prevents use of group view, and maybe useful for other checks.
addMissionEventHandler ["PlayerViewChanged", {if (cameraView isEqualTo "GROUP") then {vehicle player switchCamera "Internal";};}];
[] execFSM "epoch_code\system\player_login.fsm";
true