mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Disable spect camera movement while map is open (#5427)
- Prevents camera panning when right-click dragging the map around
This commit is contained in:
parent
d3ce75daef
commit
407df4433a
@ -22,9 +22,9 @@ if (GVAR(uiMapVisible)) then {
|
||||
|
||||
ctrlSetFocus CTRL_MOUSE;
|
||||
|
||||
// if (GVAR(camMode) == MODE_FREE) then {
|
||||
// GVAR(camera) camCommand "manual on";
|
||||
// };
|
||||
if (GVAR(camMode) == MODE_FREE) then {
|
||||
GVAR(camera) camCommand "manual on";
|
||||
};
|
||||
} else {
|
||||
CTRL_MAP ctrlShow true;
|
||||
CTRL_MAP_GROUP ctrlShow true;
|
||||
@ -36,7 +36,7 @@ if (GVAR(uiMapVisible)) then {
|
||||
ctrlMapAnimCommit CTRL_MAP;
|
||||
|
||||
// Disable camera input while map is open
|
||||
// GVAR(camera) camCommand "manual off";
|
||||
GVAR(camera) camCommand "manual off";
|
||||
};
|
||||
|
||||
// Toggle the tracking variable
|
||||
|
Loading…
Reference in New Issue
Block a user