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

WIP: validate equipment-weapon linkages on entities #2542

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sixlettervariables
Copy link
Contributor

@sixlettervariables sixlettervariables commented Dec 29, 2020

This works to resolve the underlying issue seen in MegaMek/mekhq#2332

I hacked together this as a discussion point, as I'm reasonably sure there is a much better way. It's stolen from MechFileParser::postLoadInit.

TODO:

  • extract this up into a common method
  • pull back down entity specific methods into their various TestXXX classes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In Development (Draft) An additional way to mark something as a draft. Make it stand out more.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants