From 9893d940dffcbe068550eec1e064a2a62981dd7a Mon Sep 17 00:00:00 2001 From: ulteq Date: Sat, 11 Apr 2015 19:47:14 +0200 Subject: [PATCH] Disabled advanced scope zeroing if AB is not enabled --- addons/scopes/functions/fnc_canAdjustZero.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/scopes/functions/fnc_canAdjustZero.sqf b/addons/scopes/functions/fnc_canAdjustZero.sqf index a61c8876be..c9663ea711 100644 --- a/addons/scopes/functions/fnc_canAdjustZero.sqf +++ b/addons/scopes/functions/fnc_canAdjustZero.sqf @@ -14,6 +14,7 @@ if (cameraView == "GUNNER") exitWith {false}; if !(vehicle _unit == _unit) exitWith {false}; +if !(missionNamespace getVariable [QEGVAR(advanced_ballistics,enabled), false]) exitWith {false}; private ["_unit", "_adjustment", "_elevation"]; _unit = _this select 0;