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

50.01 Aerospace Heat displaying incorrectly in ingame MekHQ Meklab #5164

Open
7 tasks done
poiu18894012 opened this issue Nov 3, 2024 · 1 comment
Open
7 tasks done

Comments

@poiu18894012
Copy link

Prerequisites and Pre-Issue Checklist

  • I'm reporting the issue to the correct repository:

  • MegaMek

  • MegaMekLab

  • MekHQ

  • I've tested the issue against at least the latest MILESTONE version

  • I've asked on the MegaMek Discord about the error

  • I've reviewed the BattleTech rules and MekHQ documentation, and I've confirmed that something isn't working as intended.

  • I've searched the Github tracker and haven't found the issue listed

Severity *

Medium (Gameplay Limitation): Non-core functionality is impaired, providing a suboptimal but playable experience.

Brief Description *

Hello
The Aerospace heat is displayed incorrectly when refitting an Aerospace vehicle in MekHQ.
This is affecting the artifact version 50.01

Instead of displaying
(Total heat generated)/(Total heat sinking)

it displays
2.0/(Total heat sinking)

This affects every aerospace unit (except for LAMs) in 50.01

Screenshot 2024-11-03 162410
Screenshot 2024-11-03 162454
Screenshot 2024-11-03 162548
Screenshot 2024-11-03 162833

Steps to Reproduce

  1. Start customizing an Aerospace Unit
  2. Heat will display wrong regardless of changes.

Operating System *

Windows 11

Java Version *

17.0.12

MekHQ Suite Version *

Free Text (type manually)

Custom MekHQ Version

50.01

Attach Files

logs.zip

Final Checklist

  • I've checked to make sure that this issue has not already been filed
  • I'm reporting only one issue in this ticket for clarity and focus
@WeaverThree
Copy link
Collaborator

I haven't dug into this yet but there's a caulalateTotalHeat() in MekLabTab.java for some reason instead of it just pulling data from the MML functions.
https://github.com/WeaverThree/mekhq/blob/b2cc6f71e78cd5702317fd522fa686271f171047/MekHQ/src/mekhq/gui/MekLabTab.java#L399

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

No branches or pull requests

2 participants