mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 11:10:42 +00:00
Carrot
This commit is contained in:
@@ -119,7 +119,7 @@ export class SpatialQuery {
|
||||
const MAX_WAYPOINT_DIST = 200;
|
||||
const PADDING = 10;
|
||||
|
||||
if (path.length < MIN_WAYPOINT_DIST) {
|
||||
if (path.length <= MIN_WAYPOINT_DIST) {
|
||||
return path[0];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user