Skip to content

Commit

Permalink
disable reinforce from mul menu item in lobby
Browse files Browse the repository at this point in the history
  • Loading branch information
kuronekochomusuke committed Nov 29, 2024
1 parent 575b798 commit 458ae46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megamek/src/megamek/client/ui/swing/CommonMenuBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ private synchronized void updateEnabledStates() {
boardRecent.setEnabled((isBoardEditor || isMainMenu) && !RecentBoardList.getRecentBoards().isEmpty());
fileUnitsPaste.setEnabled(isLobby);
fileUnitsCopy.setEnabled(isLobby);
fileUnitsReinforce.setEnabled((isLobby || isInGame) && isNotVictory);
fileUnitsReinforce.setEnabled((isInGame) && isNotVictory);
fileUnitsReinforceRAT.setEnabled((isLobby || isInGame) && isNotVictory);
fileUnitsSave.setEnabled(isLobby || (isInGame && canSave));
fileUnitsBrowse.setEnabled(isMainMenu);
Expand Down

0 comments on commit 458ae46

Please sign in to comment.