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

Fix #5343: damage display not showing damage color when multiples used #5371

Conversation

Sleet01
Copy link
Collaborator

@Sleet01 Sleet01 commented Apr 18, 2024

Damage display was using the undamaged color for damaged blocks, but only when the total of
(undamaged + damage) / <client settings damage block factor> is greater than 30.

Issue was that the less-common code path was using the undamaged block color for the damaged blocks.

Testing:

Close #5343

@Sleet01 Sleet01 merged commit 6cd3867 into MegaMek:master Apr 18, 2024
4 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.

[0.49.19 Nightly] (UI Bug) Damage boxes not showing red when displaying multiples of damage
2 participants