From da47c2330df9bcf543d5320d2bf710203d9e2d01 Mon Sep 17 00:00:00 2001 From: johnb432 <58661205+johnb432@users.noreply.github.com> Date: Fri, 30 Aug 2024 10:36:05 +0200 Subject: [PATCH] Update fnc_mclosButtonPressed.sqf --- addons/missileguidance/functions/fnc_mclosButtonPressed.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/missileguidance/functions/fnc_mclosButtonPressed.sqf b/addons/missileguidance/functions/fnc_mclosButtonPressed.sqf index 1f0980e5c0..a46ac39a11 100644 --- a/addons/missileguidance/functions/fnc_mclosButtonPressed.sqf +++ b/addons/missileguidance/functions/fnc_mclosButtonPressed.sqf @@ -21,7 +21,7 @@ params ["_accelerationDirection", "_player"]; private _inMclosControlled = false; private _shooter = vehicle _player; -if (getNumber ((configOf _shooter) >> QGVAR(hasMCLOSControl) == 1) then { +if (getNumber ((configOf _shooter) >> QGVAR(hasMCLOSControl)) == 1) then { playSound "ACE_Sound_Click"; private _currentDirection = _shooter getVariable [QGVAR(MCLOS_direction), [0, 0, 0]];