This commit is contained in:
Cmdr McDonald
2017-04-23 16:06:14 +01:00
parent c130b52b7c
commit 59a5ba0227
13 changed files with 393 additions and 141 deletions

View File

@@ -43,7 +43,7 @@ export default class JumpRange extends TranslatedComponent {
componentWillReceiveProps(nextProps, nextContext) {
if (nextProps.code != this.props.code) {
this.setState({ fuelLevel: 1,
calcJumpRangeFunc: this._calcJumpRange.bind(this, nextProps.ship) });
calcJumpRangeFunc: this._calcJumpRange.bind(this, nextProps.ship) });
}
return true;
}