MegaMek / megameklab

MegaMekLab is a BattleTech unit modification program. It allows creating and modifying all unit types available in MegaMek from Support Vehicles up to WarShips. It also allows printing record sheets for single or multiple units.
http://www.megamek.org
86 stars 130 forks source link

When exporting to PDF, ASF has 0 in Structural Integrity. #1583

Closed youROKer closed 1 month ago

youROKer commented 1 month ago

Environment

0.49.20 dev. MHQ MML, same bug in 0.49.8 standalone MML Windows Java Version: Oracle 17.0.1

Description

When exporting to PDF, ASF has 0 in Structural Integrity, but this value is displayed correctly in MML itself. The same bug when exporting a unit to HTML file.

Files

pdf asf bug.zip

pavelbraginskiy commented 1 month ago

Duplicate of #1474. Workaround: Save and reload the unit.