Skip to content
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

Reset LAM/QV conversion mode after getting movement stats. #1362

Merged
merged 1 commit into from
Jun 6, 2019

Conversation

neoancient
Copy link
Member

When formatting the TRO view, LAMs and QuadVees are cycled through their modes to get the movement stats, but they are not returned to the original mode. This causes the MP calculations to show incorrectly in MML.

Fixes MegaMek/megameklab#301: LAM reports Walk MP same as its Jump MP

@neoancient
Copy link
Member Author

The MechView preview uses the same approach, but does reset the conversion mode.

@neoancient neoancient merged commit 219cbd7 into master Jun 6, 2019
@neoancient neoancient deleted the tro_reset_conversion branch June 6, 2019 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LAM reports Walk MP same as its Jump MP
2 participants