Use correct values for boost/speed when working out boost factor

This commit is contained in:
Cmdr McDonald
2017-03-19 22:34:19 +00:00
parent 86df6f20f6
commit e278babee8

View File

@@ -181,7 +181,7 @@ export default class Ship {
* @return {Number} Speed
*/
calcSpeed(eng, fuel, cargo, boost) {
return Calc.calcSpeed(this.unladenMass + fuel + cargo, this.speed, this.standard[1].m, this.pipSpeed, eng, this.topBoost / this.topSpeed, boost);
return Calc.calcSpeed(this.unladenMass + fuel + cargo, this.speed, this.standard[1].m, this.pipSpeed, eng, this.boost / this.speed, boost);
}
/**