Skip to content

Commit

Permalink
Merge pull request #326 from scottStinger/hotfix
Browse files Browse the repository at this point in the history
Hotfix for IJJ with hardened Armor
  • Loading branch information
WEKarnesky authored Dec 30, 2024
2 parents 327c892 + cb10b67 commit 5fa5173
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,5 @@ gradle-app.setting
*/Data/
# End of https://www.gitignore.io/api/gradle,intellij
Logs/
.vscode/launch.json
.vscode/settings.json
8 changes: 4 additions & 4 deletions ssw/src/main/java/ssw/gui/frmMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -856,11 +856,11 @@ private void FixJJSpinnerModel() {
}

if( CurMech.GetJumpJets().IsImproved() ) {
// if( CurMech.GetArmor().IsHardened() && !CurMech.GetJumpJets().IsImproved() ) {
// max = CurMech.GetRunningMP() - 1;
// } else {
if( CurMech.GetArmor().IsHardened() ) {
max = CurMech.GetRunningMP() + 1;
} else {
max = CurMech.GetRunningMP();
// }
}
} else {
max = CurMech.GetWalkingMP();
}
Expand Down

0 comments on commit 5fa5173

Please sign in to comment.