mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
Lint
This commit is contained in:
@@ -463,7 +463,6 @@ export default class Ship {
|
|||||||
this.updatePowerUsed();
|
this.updatePowerUsed();
|
||||||
} else if (name === 'mass') {
|
} else if (name === 'mass') {
|
||||||
// Mass
|
// Mass
|
||||||
//let oldMass = m.getMass();
|
|
||||||
m.setModValue(name, value, sentfromui);
|
m.setModValue(name, value, sentfromui);
|
||||||
this.recalculateMass();
|
this.recalculateMass();
|
||||||
this.updateMovement();
|
this.updateMovement();
|
||||||
@@ -1154,6 +1153,8 @@ export default class Ship {
|
|||||||
let cargoCapacity = 0;
|
let cargoCapacity = 0;
|
||||||
let fuelCapacity = 0;
|
let fuelCapacity = 0;
|
||||||
|
|
||||||
|
unladenMass += this.bulkheads.m.getMass();
|
||||||
|
|
||||||
for (let slotNum in this.standard) {
|
for (let slotNum in this.standard) {
|
||||||
const slot = this.standard[slotNum];
|
const slot = this.standard[slotNum];
|
||||||
if (slot.m) {
|
if (slot.m) {
|
||||||
|
|||||||
Reference in New Issue
Block a user