Skip to content

Commit

Permalink
Merge pull request #5043 from HoneySkull/1021_Aero_Evade
Browse files Browse the repository at this point in the history
1021 Automatic Ctrl-Backspace on Evade for Aero
  • Loading branch information
SJuliez authored Jan 13, 2024
2 parents b168959 + a4b93f9 commit 6fcbebb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions megamek/src/megamek/client/ui/swing/MovementDisplay.java
Original file line number Diff line number Diff line change
Expand Up @@ -5090,6 +5090,7 @@ public synchronized void actionPerformed(ActionEvent ev) {
ready();
}
} else if (actionCmd.equals(MoveCommand.MOVE_EVADE_AERO.getCmd())) {
removeIllegalSteps();
addStepToMovePath(MoveStepType.EVADE);
setEvadeAeroEnabled(false);
} else if (actionCmd.equals(MoveCommand.MOVE_ROLL.getCmd())) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public class KeyBindingsOverlay extends AbstractBoardViewOverlay {
private static final List<KeyCommandBind> BINDS_MOVE = Arrays.asList(
KeyCommandBind.TOGGLE_MOVEMODE,
KeyCommandBind.UNDO_LAST_STEP,
KeyCommandBind.UNDO_ILLEGAL_STEPS,
KeyCommandBind.TOGGLE_CONVERSIONMODE,
KeyCommandBind.DONE_NO_ACTION
);
Expand Down

0 comments on commit 6fcbebb

Please sign in to comment.