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

fix set max capacity ship part meter (#3830) #3834

Conversation

agrrr3
Copy link
Contributor

@agrrr3 agrrr3 commented May 12, 2022

NewMeterValue uses GetMeter to look up meters, but if one wants a ship part meter, one has to use GetPartMeter, so this needs to be passed in currently (two occurences found).

the second commit "fixes" this for a similar occurence for GetMeter (it should work without the fix; one occurence). So not sure.

Fixes #3830

@geoffthemedio geoffthemedio added category:bug The Issue/PR describes or solves a perceived malfunction within the game. component:internal The Issue/PR deals with any project component that has no explicit `component` label. labels May 12, 2022
@geoffthemedio geoffthemedio merged commit e6b4f94 into freeorion:master May 12, 2022
@geoffthemedio geoffthemedio added the status:merged All relevant commits of this PR were merged into the master development branch. label May 12, 2022
@o01eg o01eg added this to the v0.5 milestone May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bug The Issue/PR describes or solves a perceived malfunction within the game. component:internal The Issue/PR deals with any project component that has no explicit `component` label. status:merged All relevant commits of this PR were merged into the master development branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fighter launch capacity set to 0 for unknown reasons
3 participants