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

#1668-fix-faction-mapping #1669

Merged
merged 1 commit into from
Apr 6, 2020
Merged

Conversation

FemtoZetta
Copy link
Contributor

fixes #1668:
-changes the order in the Faction enum so it reflects the order the server reports in
-added a comment to explain why the order is important, since that is not intuitive
-that fixes the icons in the replay overview being wrong for everything but Sera

fixes #1668:
-changes the order in the Faction enum so it reflects the order the server reports in
-added a comment to explain why the order is important, since that is not intuitive
-that fixes the icons in the replay overview being wrong for everything but Sera
@1-alex98
Copy link
Member

1-alex98 commented Apr 6, 2020

Please check where else this enum is used!!!

@bukajsytlos
Copy link
Member

is this definately right order? in api aeon is first

@FemtoZetta
Copy link
Contributor Author

@axel1200 I didn't find anything that didn't work. I tested 1v1 ladder, coop and custom game. The ordinal functions of the enum are actually never used.

@bukajsytlos Show me one example where the API does report Aeon as 1 please.

@1-alex98
Copy link
Member

1-alex98 commented Apr 6, 2020

@bukajsytlos the api's order s wrong

@1-alex98 1-alex98 merged commit b37c701 into develop Apr 6, 2020
@Brutus5000 Brutus5000 deleted the bugfix/#1668-fix-faction-mapping branch July 4, 2020 20:19
mrchris2000 pushed a commit to mrchris2000/downlords-faf-client that referenced this pull request Apr 15, 2022
fixes FAForever#1668:
-changes the order in the Faction enum so it reflects the order the server reports in
-added a comment to explain why the order is important, since that is not intuitive
-that fixes the icons in the replay overview being wrong for everything but Sera
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.

Fix mapping for faction icons in replay details
3 participants