mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
Use correct values for boost/speed when working out boost factor
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user