mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Fix for CameraView Check
This commit is contained in:
parent
0e2af36da9
commit
224032abb7
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user