Arsenal - Fix Zeus UI lockup after closing arsenal (#8102)

* Fix Zeus UI lockup after closing arsenal

* Removed redundant line

* use ACE_player

* Always reset cameraview
This commit is contained in:
Neil Evers 2021-03-04 05:11:24 +01:00 committed by GitHub
parent fab4664b73
commit d64050554d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,6 @@ if (is3DEN) then {
curatorcamera cameraEffect ["internal","back"]; curatorcamera cameraEffect ["internal","back"];
} else { } else {
GVAR(camera) cameraEffect ["terminate","back"]; GVAR(camera) cameraEffect ["terminate","back"];
ACE_player switchCamera GVAR(cameraView);
}; };
}; };
@ -71,6 +70,8 @@ if (!isNil QGVAR(moduleUsed)) then {
objNull remoteControl GVAR(center); objNull remoteControl GVAR(center);
}; };
ACE_player switchCamera GVAR(cameraView);
if (isMultiplayer) then { if (isMultiplayer) then {
[QGVAR(broadcastFace), [GVAR(center), GVAR(currentFace)], QGVAR(center) + "_face"] call CBA_fnc_globalEventJIP; [QGVAR(broadcastFace), [GVAR(center), GVAR(currentFace)], QGVAR(center) + "_face"] call CBA_fnc_globalEventJIP;