diff --git a/Sources/epoch_code/compile/setup/masterLoop/Event1.sqf b/Sources/epoch_code/compile/setup/masterLoop/Event1.sqf index 54580632..c39d5374 100644 --- a/Sources/epoch_code/compile/setup/masterLoop/Event1.sqf +++ b/Sources/epoch_code/compile/setup/masterLoop/Event1.sqf @@ -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; diff --git a/Sources/epoch_code/init/client_init.sqf b/Sources/epoch_code/init/client_init.sqf index da0712e4..e3dee9e1 100644 --- a/Sources/epoch_code/init/client_init.sqf +++ b/Sources/epoch_code/init/client_init.sqf @@ -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