mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-06-28 07:01:49 +00:00
smol changes
This commit is contained in:
@ -1501,7 +1501,7 @@ getNearestWaypointOfWaypoints(waypoints)
|
||||
waypoint = waypoints[i];
|
||||
thisDist = DistanceSquared(self.origin, waypoint.origin);
|
||||
|
||||
if (thisDist > closestDist)
|
||||
if (isDefined(answer) && thisDist > closestDist)
|
||||
continue;
|
||||
|
||||
answer = waypoint;
|
||||
@ -2270,9 +2270,6 @@ bot_use_tube_think()
|
||||
|
||||
if (self IsBotFragging() || self IsBotSmoking())
|
||||
continue;
|
||||
|
||||
if(self IsBotReloading() || self IsBotKnifing())
|
||||
continue;
|
||||
|
||||
if(self isDefusing() || self isPlanting())
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user