Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix force rally point not setting building as primary #21348

Merged
merged 1 commit into from Feb 23, 2024

Conversation

PunkPun
Copy link
Member

@PunkPun PunkPun commented Feb 18, 2024

Closes #21312
Regression from #20227

buildings can't move so the search failed

@PunkPun PunkPun added this to the Next Release milestone Feb 18, 2024
Copy link
Member

@atlimit8 atlimit8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It not only works, the idea of path finding for the buildings themselves does not make sense. The use of ClosestToWithPathTo(this IEnumerable<Actor> actors, World world, WPos targetPosition) was looking for a path that the production facility can take. The intention was probably for validating the location. However, That would require being able to check against the types of actors that can be produced, assuming that a mod does not have some custom use for the rally point such as auto-spawning actors.

@abcdefg30 abcdefg30 merged commit d3c44de into OpenRA:bleed Feb 23, 2024
3 checks passed
@abcdefg30
Copy link
Member

Changelog

@PunkPun PunkPun deleted the fix-primary branch February 23, 2024 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using Ctrl+ Rally point didnt set building as Primary
3 participants