-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jump-mode backspace past beginning of move queue locks game #5348
Comments
looks like it gets into an infinite loop here in MovementDisplay
|
It looks like this is due to an issue in Theres some extra steps that I don't quite have a full handle on yet but this is the gist of the issue. |
Interestingly, that makes this related to #4970 - jumping into your starting hex shouldn't be illegal for non-infantry units. Although it would still be illegal for infantry, so you can't just use that as the fix instead, have to do both. |
So this is pretty explictily excluded in
Not sure if the rules have changed since this code was written or I'm missing something. |
Thank you for the bug report @WeaverThree and for the fix @Lu9us. I definitely did not anticipate removing move steps would also create move steps in the case of jump mode. I feel like the fix by @Lu9us is consistent with the intent of the "undo" nature of the backspace key. |
…when-deleting-movement #5348 stop adding jump start step when deleting movement
Environment
Megamek 0.49.18
Tested under Adoptium Java 11 and 17 on Windows 10, and OpenJDK 11 and Adoptum 17 on current Fedora Linux, problem persists in all cases.
Description
When you're in movement phase with a mek and in jump mode and backspace past the beginning of the movement list, the game completely freezes and needs to be task killed to close. This can be done just be pressing the 'jump' button and backspace once.
Files
megamek.log - doesn't appear to have anything from this problem
jump-backspace-to-crash-0.49.18.sav.gz - playername Weaver - this is just a pxh-1 by itself ready to move on turn one, so select 'jump' and hit backspace to crash it.
The text was updated successfully, but these errors were encountered: