-
Notifications
You must be signed in to change notification settings - Fork 88
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
fix #675 factions Random & Nomads in Replay Info #676
fix #675 factions Random & Nomads in Replay Info #676
Conversation
#reviewed |
Thank you for that fix. I agree we need to refactor this - especiall random faction having different ID based on mod is bad. But this may not be client only problem. |
I need
Then I will merge it immediately. |
In FA random faction = 5, but with Nomads mod nomads = 5 and random = 6. This fixes this with a nomads mod case just for replayinfo. Add Random.png icon Add changelog entry for FAForever#676
2522142
to
722c8f2
Compare
Added changelog and some commit comment. (and merged ...I like that ;-) |
'refactor' random faction (to say 0) just leads to an new extra case, cause we still want to show old replays right, nes pas? |
I did some work trying to refactor the class over at Wesmania/client@0e521ee. This could probably be improved, maybe replace HTML generation with some Qt .ui files. Might be a good starting point for a future larger refactor. |
So now I need someone to test this :-) |
I tested it, works fine :-) |
Ran it in my VM, looks fine! 👍 |
add Random.png to Replay icons
add mod-nomads conditions to retrieveIconFaction, so random-faction selected (in game lobby) is now shown correct.
issuenum
-fix
/feature
/cleanup
-description
When all builds pass and a maintainer is happy with your PR, the "ready" label will be applied. Please complete these tasks then: