Don't want to admit how long it took to figure this out...
Was debugging SARGE AI Code till found it
This commit is contained in:
Torndeco
2013-11-21 20:19:49 +00:00
parent 974e14c44d
commit fecdeb5204

View File

@@ -67,7 +67,7 @@ _searchArrayChildrenFunc =
[_sub, _query] call _searchArrayFunc; [_sub, _query] call _searchArrayFunc;
}; };
}; };
if(count path > 0)then{ if(count _path > 0)then{
//Nothing was found, so take a step back. //Nothing was found, so take a step back.
if (!_found) then {_path resize ((count _path) - 1)}; if (!_found) then {_path resize ((count _path) - 1)};
}; };