Skip to content

Commit

Permalink
Merge pull request MegaMek#4924 from kuronekochomusuke/weaponPanelFac…
Browse files Browse the repository at this point in the history
…torInCombatComputerWithHeat

weapon panel factor in combat computer with displaying heat buildup
  • Loading branch information
neoancient authored Nov 28, 2023
2 parents a42c675 + e0d4981 commit 9cc224d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1151,6 +1151,10 @@ public void displayMech(Entity en) {
currentHeatBuildup++;
}

if (en.hasQuirk(OptionsConstants.QUIRK_POS_COMBAT_COMPUTER)) {
currentHeatBuildup -= 4;
}

// check for negative values due to extreme temp
if (currentHeatBuildup < 0) {
currentHeatBuildup = 0;
Expand Down

0 comments on commit 9cc224d

Please sign in to comment.