mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix spectator map click not changing cam pos
Fix #3842 PFEH FUNC(handleCamera) will set camera position using GVAR(camPos)
This commit is contained in:
parent
fa176bdea7
commit
9cc0e64b46
@ -60,7 +60,7 @@ GVAR(camZoom) = (_zoom min 2) max 0.01;
|
||||
|
||||
// Apply if camera exists
|
||||
if (GVAR(isSet)) then {
|
||||
GVAR(freeCamera) setPosATL _position;
|
||||
GVAR(camPos) = (ATLtoASL _position); // Camera position will be updated in FUNC(handleCamera)
|
||||
[_mode,_unit,_vision] call FUNC(transitionCamera);
|
||||
} else {
|
||||
GVAR(camMode) = _mode;
|
||||
|
Loading…
Reference in New Issue
Block a user