From 1003b75d02b82090ad6d6917d3c9d2dae13e44f1 Mon Sep 17 00:00:00 2001 From: Patryk Kaniewski Date: Mon, 27 Apr 2026 15:48:47 +0200 Subject: [PATCH 1/2] check for gl muzzle on isISR --- addons/isr/functions/fnc_isISR.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/isr/functions/fnc_isISR.sqf b/addons/isr/functions/fnc_isISR.sqf index c17e757..8272b74 100644 --- a/addons/isr/functions/fnc_isISR.sqf +++ b/addons/isr/functions/fnc_isISR.sqf @@ -20,7 +20,7 @@ private _turretConfig = [_currentVehicle, _turret] call CBA_fnc_getTurret; if ((isNumber (_turretConfig >> "optics")) && {(getNumber (_turretConfig >> "optics")) == 0}) exitWith {false}; // FFV -if (currentMuzzle ace_player == currentWeapon ace_player) exitWith {false}; +if (currentMuzzle ace_player == currentWeapon ace_player || currentMuzzle ace_player == (weaponState ace_player select 1)) exitWith {false}; private _result = false; From f3fa1b17a4df09db4a001d0cfa6f676837d06a08 Mon Sep 17 00:00:00 2001 From: BrettMayson Date: Fri, 1 May 2026 16:11:02 -0600 Subject: [PATCH 2/2] Simplify muzzle check in fnc_isISR.sqf --- addons/isr/functions/fnc_isISR.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/isr/functions/fnc_isISR.sqf b/addons/isr/functions/fnc_isISR.sqf index 8272b74..ae44967 100644 --- a/addons/isr/functions/fnc_isISR.sqf +++ b/addons/isr/functions/fnc_isISR.sqf @@ -20,7 +20,7 @@ private _turretConfig = [_currentVehicle, _turret] call CBA_fnc_getTurret; if ((isNumber (_turretConfig >> "optics")) && {(getNumber (_turretConfig >> "optics")) == 0}) exitWith {false}; // FFV -if (currentMuzzle ace_player == currentWeapon ace_player || currentMuzzle ace_player == (weaponState ace_player select 1)) exitWith {false}; +if (currentMuzzle ace_player == (weaponState ace_player select 1)) exitWith {false}; private _result = false;