Skip to content

馃敤 Make RoomPosition.findClosestByPath respect the passed range - #160

Open
tiennou wants to merge 1 commit into
screeps:masterfrom
tiennou:fix/findClosestByPath-range
Open

馃敤 Make RoomPosition.findClosestByPath respect the passed range#160
tiennou wants to merge 1 commit into
screeps:masterfrom
tiennou:fix/findClosestByPath-range

Conversation

@tiennou

@tiennou tiennou commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The docs says see Room.findPath when describing the options it takes. Those are passed into the costmatrix, so some get applied. But range doesn't, and instead gets hardcoded to 1.

The docs says `see Room.findPath` when describing the options it takes.
Those are passed into the costmatrix, so some get applied. But range
doesn't, and instead gets hardcoded to 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant