Skip to content

Commit

Permalink
allow gm to configure spas in game
Browse files Browse the repository at this point in the history
  • Loading branch information
kuronekochomusuke committed Dec 22, 2023
1 parent 31fa3c6 commit 70fe8c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions megamek/src/megamek/client/ui/swing/MapMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ JMenuItem createCustomMechMenuItem(Entity entity) {
JMenuItem item = new JMenuItem(entity.getDisplayName());
item.addActionListener(evt -> {
CustomMechDialog med = new CustomMechDialog(gui, client, Collections.singletonList(entity), true, false);
med.refreshOptions();
gui.getBoardView().setShouldIgnoreKeys(true);
med.setVisible(true);
client.sendUpdateEntity(entity);
Expand Down

0 comments on commit 70fe8c3

Please sign in to comment.