Update fnc_mclosButtonPressed.sqf

This commit is contained in:
johnb432 2024-08-30 10:36:05 +02:00
parent ea42c72c50
commit da47c2330d

View File

@ -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]];