From 6d6cbec5ef2970c5f5740ce08a23b83cd19be3b5 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Tue, 19 Jan 2016 09:02:51 -0600 Subject: [PATCH] Add missing FUNC to FCS key (Rangefinders) #3160 --- addons/fcs/functions/fnc_keyDown.sqf | 2 +- addons/fcs/functions/fnc_keyUp.sqf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/fcs/functions/fnc_keyDown.sqf b/addons/fcs/functions/fnc_keyDown.sqf index a34233bc91..488611fde1 100644 --- a/addons/fcs/functions/fnc_keyDown.sqf +++ b/addons/fcs/functions/fnc_keyDown.sqf @@ -16,7 +16,7 @@ params ["_vehicle", "_turret"]; private _distance = call FUNC(getRange); -call (updateRangeHUD); +call FUNC(updateRangeHUD); if !(!GVAR(enabled) && FUNC(canUseFCS)) exitWith {}; diff --git a/addons/fcs/functions/fnc_keyUp.sqf b/addons/fcs/functions/fnc_keyUp.sqf index ebbd6e3a06..e729a48b86 100644 --- a/addons/fcs/functions/fnc_keyUp.sqf +++ b/addons/fcs/functions/fnc_keyUp.sqf @@ -17,7 +17,7 @@ params ["_vehicle", "_turret", "_distance", ["_showHint", false], ["_playSound", private _turretConfig = [configFile >> "CfgVehicles" >> typeOf _vehicle, _turret] call EFUNC(common,getTurretConfigPath); -call (updateRangeHUD); +call FUNC(updateRangeHUD); if (isNil "_distance") then { _distance = call FUNC(getRange);