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

Prevent Commander list scrambling on save-load #3403

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

DARwins1
Copy link
Member

Prevents the list of commanders in the command tab from being jumbled up when loading a save by sorting the list by droid ID.
Currently, save-loading the game causes the order of the commanders in the commander menu to be changed, which can be seen here (screenshots taken in master build):
Before save-load:
image
After save-load:
image
Notice how the order of the commanders in the menu have been reversed.

With this PR, the commander menu order is preserved on save-load.
Before save-load:
image
After save-load:
image

Prevents the list of commanders in the command tab from being jumbled up when loading a save by sorting the list by droid ID.
@KJeff01 KJeff01 added this to the 4.4.0-beta1 milestone Oct 18, 2023
@KJeff01 KJeff01 merged commit 9423ce1 into Warzone2100:master Oct 18, 2023
37 checks 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 participants