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