mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #3187 from acemod/fixFCS
Add missing FUNC to FCS key (Rangefinders)
This commit is contained in:
commit
b99be6122b
@ -16,7 +16,7 @@
|
|||||||
params ["_vehicle", "_turret"];
|
params ["_vehicle", "_turret"];
|
||||||
|
|
||||||
private _distance = call FUNC(getRange);
|
private _distance = call FUNC(getRange);
|
||||||
call (updateRangeHUD);
|
call FUNC(updateRangeHUD);
|
||||||
|
|
||||||
if !(!GVAR(enabled) && FUNC(canUseFCS)) exitWith {};
|
if !(!GVAR(enabled) && FUNC(canUseFCS)) exitWith {};
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ params ["_vehicle", "_turret", "_distance", ["_showHint", false], ["_playSound",
|
|||||||
|
|
||||||
private _turretConfig = [configFile >> "CfgVehicles" >> typeOf _vehicle, _turret] call EFUNC(common,getTurretConfigPath);
|
private _turretConfig = [configFile >> "CfgVehicles" >> typeOf _vehicle, _turret] call EFUNC(common,getTurretConfigPath);
|
||||||
|
|
||||||
call (updateRangeHUD);
|
call FUNC(updateRangeHUD);
|
||||||
|
|
||||||
if (isNil "_distance") then {
|
if (isNil "_distance") then {
|
||||||
_distance = call FUNC(getRange);
|
_distance = call FUNC(getRange);
|
||||||
|
Loading…
Reference in New Issue
Block a user