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

Order history when there is only one power left #711

Open
jensforsgard opened this issue Oct 27, 2020 · 0 comments
Open

Order history when there is only one power left #711

jensforsgard opened this issue Oct 27, 2020 · 0 comments

Comments

@jensforsgard
Copy link

jensforsgard commented Oct 27, 2020

Bug report

In rare cases, a game can go on for a few more turns even if there is only one power that can submit orders. The other powers might still have supply centers, but they will not have any units nor will they have access to home centers to build new units. This mostly happens if the players set up the position on purpose, for fun. (See 202570 for an example.) The order history cannot handle such a situation. All orders submitted after the second to last power lost their last unit, will be archived to the most recent turn. Once the game ends, they will be archived to the last turn of the game. See 202570&viewArchive=Orders for an example.

Expected behaviour

The order history should contain one entry for each turn.

Actual behaviour

All turns after the second to last power lost their last unit, are archived to the most previous turn.

Steps to reproduce

Start a game. Play a few turn and make it so that no power owns their own home centers. Disband the units from all powers except one (by forcing them to retreat and choosing the disband option). Play a few more turns.

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

No branches or pull requests

1 participant