Skip to content

Commit

Permalink
Merge pull request #4980 from kuronekochomusuke/gmConfigureSPAs
Browse files Browse the repository at this point in the history
allow gm to configure spas in game
  • Loading branch information
HammerGS authored Dec 29, 2023
2 parents ab36a5f + 70fe8c3 commit 8aa6fc3
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 @@ -441,6 +441,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 8aa6fc3

Please sign in to comment.