mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
Lint
This commit is contained in:
@@ -86,7 +86,7 @@ export default class EngineProfile extends TranslatedComponent {
|
||||
|
||||
// Calculate bounds for our line chart
|
||||
const thrusters = ship.standard[1].m;
|
||||
const minMass = ship.calcLowestPossibleMass({th: thrusters});
|
||||
const minMass = ship.calcLowestPossibleMass({ th: thrusters });
|
||||
const maxMass = thrusters.getMaxMass();
|
||||
let mass = ship.unladenMass + ship.fuelCapacity + cargo;
|
||||
const minSpeed = Calc.speed(maxMass, ship.speed, thrusters, ship.engpip)[4];
|
||||
|
||||
@@ -88,7 +88,7 @@ export default class FSDProfile extends TranslatedComponent {
|
||||
// Calculate bounds for our line chart - use thruster info for X
|
||||
const thrusters = ship.standard[1].m;
|
||||
const fsd = ship.standard[2].m;
|
||||
const minMass = ship.calcLowestPossibleMass({th: thrusters});
|
||||
const minMass = ship.calcLowestPossibleMass({ th: thrusters });
|
||||
const maxMass = thrusters.getMaxMass();
|
||||
let mass = ship.unladenMass + ship.fuelCapacity + cargo;
|
||||
const minRange = Calc.jumpRange(maxMass, fsd, ship.fuelCapacity);
|
||||
|
||||
Reference in New Issue
Block a user