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

Version 0.43.5: Removing weapons or equipment does not return tonnage #120

Closed
LiamsGhost opened this issue Dec 18, 2017 · 2 comments
Closed

Comments

@LiamsGhost
Copy link

As it says above, removing any equipment allocated in the equipment tab doesn't return tonnage to the mech. This has been tried on two seperate designs using the introductory and mixed(clan) tech base.

@mkerensky
Copy link
Collaborator

What happens if you delete the equipment? That returns the tonnage for me when I'm customizing dropships. You can delete straight from the locations when the equipment is allocated, otherwise you have to find it on the add equipment screen and delete it.

@neoancient
Copy link
Member

Support for large craft weapon bays necessitated using getTotalWeaponList() in some places instead of just the getWeaponList() (which for large craft returns the bays only). When a weapon is removed from the unit it was not being removed from the list that is used to calculate the current weight. Large craft had special handling added to make sure it was removed from the list of bay weapons, which is why it was working for dropships but not other units.

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

No branches or pull requests

3 participants