From fecdeb520491e7f1760eaa63ac385cfae0bc174f Mon Sep 17 00:00:00 2001 From: Torndeco Date: Thu, 21 Nov 2013 20:19:49 +0000 Subject: [PATCH] Fix Typo Don't want to admit how long it took to figure this out... Was debugging SARGE AI Code till found it --- SQF/dayz_code/compile/BIS_fnc/fn_findNestedElement.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/BIS_fnc/fn_findNestedElement.sqf b/SQF/dayz_code/compile/BIS_fnc/fn_findNestedElement.sqf index 9c395a13b..c94253a08 100644 --- a/SQF/dayz_code/compile/BIS_fnc/fn_findNestedElement.sqf +++ b/SQF/dayz_code/compile/BIS_fnc/fn_findNestedElement.sqf @@ -67,7 +67,7 @@ _searchArrayChildrenFunc = [_sub, _query] call _searchArrayFunc; }; }; - if(count path > 0)then{ + if(count _path > 0)then{ //Nothing was found, so take a step back. if (!_found) then {_path resize ((count _path) - 1)}; }; @@ -75,4 +75,4 @@ _searchArrayChildrenFunc = [_array, _query] call _searchArrayFunc; -_path \ No newline at end of file +_path