You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
megamek.MegaMek.initializeLogging(MegaMek.java:118) - Starting MegaMek v0.49.19-SNAPSHOT
Build Date: 2024-04-09T01:08:56.721120
Today: 2024-04-10
Origin Project: MegaMek
Java Vendor: Eclipse Adoptium
Java Version: 17.0.6
Platform: Windows 10 10.0 (amd64)
System Locale: en_US
Total memory available to MegaMek: 8 GB
Description
When a unit has more armor than can be displayed with individual boxes, MegaMek uses groupings, such as showing "[]x20"
When doing this for damaged armor boxes, they show green instead of red. When only showing individuals, the boxes show red as expected, this only occurs when they are grouped (such as having a large amount of damage on a dropship, as seen in the screenshot below)
@PhoenixHeart512 Okay, I was finally able to repro the issue by setting "Armor Units per Block" in Client Settings -> Unit Tooltip / Unit Display to "5" (half its default value of "10").
...dangit, I thought there would be an esoteric math error but it's just using the wrong variable in one place -_-;
Sleet01
added a commit
to Sleet01/megamek
that referenced
this issue
Apr 18, 2024
Environment
megamek.MegaMek.initializeLogging(MegaMek.java:118) - Starting MegaMek v0.49.19-SNAPSHOT
Build Date: 2024-04-09T01:08:56.721120
Today: 2024-04-10
Origin Project: MegaMek
Java Vendor: Eclipse Adoptium
Java Version: 17.0.6
Platform: Windows 10 10.0 (amd64)
System Locale: en_US
Total memory available to MegaMek: 8 GB
Description
When a unit has more armor than can be displayed with individual boxes, MegaMek uses groupings, such as showing "[]x20"
When doing this for damaged armor boxes, they show green instead of red. When only showing individuals, the boxes show red as expected, this only occurs when they are grouped (such as having a large amount of damage on a dropship, as seen in the screenshot below)
Files
DamageBoxesBug.sav.gz
The text was updated successfully, but these errors were encountered: