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 placing ships with placement reqs during bid. #12381

Merged
merged 1 commit into from
Mar 2, 2024

Conversation

asvitkine
Copy link
Contributor

BidPlaceDelegate was overriding getAllProducers() which was causing adjacent factory territories to be excluded (which breaks placement of ships with specific factory reqs). This doesn't seem necessary.

Also adds Nullable annotations to match what the code is expecting.

Fixes: #12376

Notes to Reviewer

BidPlaceDelegate was overriding getAllProducers() which was causing adjacent factory territories to be excluded (which breaks placement of ships with specific factory reqs). This doesn't seem necessary.

Also adds Nullable annotations to match what the code is expecting.
@asvitkine asvitkine merged commit 2ba8647 into triplea-game:master Mar 2, 2024
1 check passed
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.

2.6.14650 Bid ships cannot be placed in a SZ that you own with your own ships
1 participant