diff --git a/addons/ui/fnc_getFov.sqf b/addons/ui/fnc_getFov.sqf index 4f3747f08..d4ad1b71a 100644 --- a/addons/ui/fnc_getFov.sqf +++ b/addons/ui/fnc_getFov.sqf @@ -25,7 +25,7 @@ Authors: streamlined by commy2 ---------------------------------------------------------------------------- */ -params [["_baseFOV", 0.75, [0]]]; +private _baseFOV = if (IS_SCALAR(_this)) then {_this} else {0.75}; private _trigRatio = safeZoneW / 2 / ((worldToScreen positionCameraToWorld [10000, 0, 10000] select 0) - 0.5);