mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #3041 from acemod/fixThreeDenCam
Optics - Don't modify camera for ThreeDen Editor
This commit is contained in:
commit
d8d3c146d3
@ -6,6 +6,11 @@ if (!hasInterface) exitWith {};
|
||||
GVAR(camera) = objNull;
|
||||
|
||||
0 = 0 spawn {
|
||||
// Workarround for the ThreeDen Editor Camera
|
||||
if ((!isNil {is3DEN}) && {is3DEN}) exitWith {
|
||||
ACE_LOGINFO("Eden detected: disabling Optics PIP Camera");
|
||||
};
|
||||
|
||||
waituntil {!isNull ACE_player};
|
||||
waituntil {sleep 1; {_x != GVAR(camera)} count allMissionObjects "camera" == 0 && {isNull curatorCamera}};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user