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

Get all scenarios except 7 (Sengoku) loading properly #503

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

TomWerner
Copy link
Contributor

This fixes how we were loading Bic leaders, to ensure that we always have the right lookups when loading cities and units. It also changes how we pick the human player in the scenario.

To test this, I updated the save test to test both flavors of the scenarios (since they are different for some reason), and also improved the testing to confirm that the human player always has either 1+ city or 1+ settler. This helped shake out a bunch of bugs.

@TomWerner TomWerner force-pushed the twrner/improved-scenario-loading branch 3 times, most recently from 90c0c6c to 0190d20 Compare January 20, 2025 19:02
@TomWerner TomWerner force-pushed the twrner/improved-scenario-loading branch from 0190d20 to 4031bfa Compare January 24, 2025 13:59
@TomWerner TomWerner merged commit e785ae2 into Development Jan 24, 2025
3 checks passed
@TomWerner TomWerner deleted the twrner/improved-scenario-loading branch January 24, 2025 14:01
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