8000 Fix a crash for governors without specialists by lmoureaux · Pull Request #2355 · longturn/freeciv21 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix a crash for governors without specialists #2355

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

Merged

Conversation

lmoureaux
Copy link
Contributor

Governors that forbid specialists do not bother computing how much specialists would produce and end up with an empty specialist output cache. When applying solutions to evaluate them, however, we were trying to use the cached values. Only do it when there specialists are actually present in the solution.

See #2332.

Governors that forbid specialists do not bother computing how much
specialists would produce and end up with an empty specialist output
cache. When applying solutions to evaluate them, however, we were trying
to use the cached values. Only do it when there specialists are actually
present in the solution.

See longturn#2332.
@lmoureaux lmoureaux merged commit c943aea into longturn:master Aug 30, 2024
21 checks passed
@lmoureaux lmoureaux deleted the bugfix/governor-no-specialists-crash branch August 30, 2024 19:50
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 participants
0