diff --git a/maps/bots/_bot_utility.gsc b/maps/bots/_bot_utility.gsc index 63fd7f4..8ce3b99 100644 --- a/maps/bots/_bot_utility.gsc +++ b/maps/bots/_bot_utility.gsc @@ -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; } /*