Skip to content

Commit dfe63ec

Browse files
IllianiBirdCopilot
andauthored
Update MekHQ/src/mekhq/gui/dialog/camOpsSalvage/SalvagePostScenarioPicker.java
Co-authored-by: Copilot <[email protected]>
1 parent afaace3 commit dfe63ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MekHQ/src/mekhq/gui/dialog/camOpsSalvage/SalvagePostScenarioPicker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ private void updateConfirmButtonState(List<SalvageComboBoxGroup> salvageComboBox
846846
if (currentPercent.compareTo(BigDecimal.valueOf(salvagePercent)) > 0 && !isExchangeRights) {
847847
disableConfirmAndColorName(confirmButton, unitSalvageLabel);
848848
// If we've gone over our %, we only block progression if the player is trying to salvage even more.
849-
shouldEnable = unitSalvageMoneyCurrent.compareTo(unitSalvageMoneyInitial) == 0;
849+
shouldEnable = unitSalvageMoneyCurrent.compareTo(unitSalvageMoneyInitial) <= 0;
850850
}
851851
}
852852

0 commit comments

Comments
 (0)