Change how function works.

This commit is contained in:
JezuzLizard 2023-06-24 21:51:17 -07:00
parent 0e68c20fcd
commit 09780b4ea0

View File

@ -316,10 +316,10 @@ ClearPriorityObjective()
/*
Checks whether the path generated by the ASTAR path finding is inaccessible
*/
GetPathIsInaccessible()
GetPathIsInaccessible( to )
{
waittillframeend;
return self.bot.path_inaccessible;
path = generatePath( self.origin, to, self.team, level.bot_allowed_negotiation_links );
return !isDefined( path ) || path.size <= 0;
}
/*