mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Javelin - Can disable thermal requirement via code (#6706)
This commit is contained in:
parent
31a645997f
commit
79b77bc0da
@ -76,7 +76,7 @@ private _offsetX = 0.5 * safeZoneW - safeZoneX - 0.5;
|
||||
private _offsetY = 0.5 * safeZoneH - safeZoneY - 0.5;
|
||||
|
||||
private _newTarget = objNull;
|
||||
if (GVAR(isLockKeyDown) && {cameraView == "GUNNER"} && {(currentVisionMode ACE_player) == 2}) then {
|
||||
if (GVAR(isLockKeyDown) && {cameraView == "GUNNER"} && {((currentVisionMode ACE_player) == 2) || {missionNamespace getVariable [QGVAR(ignoreVisionMode), false]}}) then {
|
||||
// Attempting to lock; getTarget can be expensive so it's rate is limited
|
||||
if (diag_tickTime > _nextTargetScan) then {
|
||||
BEGIN_COUNTER(getTarget);
|
||||
|
Loading…
Reference in New Issue
Block a user