added default init 100% on bp selection as the new system makes it obvious to reach 100%

This commit is contained in:
ExitCode
2018-04-22 00:59:44 +02:00
parent 9e6f86b963
commit 926f19a936

View File

@@ -136,6 +136,7 @@ export default class ModificationsMenu extends TranslatedComponent {
const blueprint = getBlueprint(fdname, m);
blueprint.grade = grade;
ship.setModuleBlueprint(m, blueprint);
setPercent(ship, m, 100);
this.setState({ blueprintMenuOpened: false });
this.props.onChange();