From 01984cdd47f61b35ff88ac2c2a97895302be742f Mon Sep 17 00:00:00 2001 From: tuntematonjr Date: Fri, 12 Aug 2022 23:54:03 +0300 Subject: [PATCH] fixed wrong variable --- addons/firesupport/functions/fnc_getTargetPositon.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/firesupport/functions/fnc_getTargetPositon.sqf b/addons/firesupport/functions/fnc_getTargetPositon.sqf index 8c3e34a..537a674 100644 --- a/addons/firesupport/functions/fnc_getTargetPositon.sqf +++ b/addons/firesupport/functions/fnc_getTargetPositon.sqf @@ -63,7 +63,7 @@ if !(_skipFiremode) then { _positionStart = _positionStart getPos [parseNumber _eastingEnd, parseNumber _northingEnd]; // this is for tweaking start coordinates with distance and direction. So varnames are missleading in this. } else { if (_positionEnd isEqualTo [-1,-1,-1]) then { - _positionStart = [[_eastingEnd, _northingEnd], false] call CBA_fnc_mapGridToPos; + _positionEnd = [[_eastingEnd, _northingEnd], false] call CBA_fnc_mapGridToPos; MAP(_positionEnd,_x + 1); }; };