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();
|
||||
} else if (name === 'mass') {
|
||||
// Mass
|
||||
//let oldMass = m.getMass();
|
||||
m.setModValue(name, value, sentfromui);
|
||||
this.recalculateMass();
|
||||
this.updateMovement();
|
||||
@@ -1154,6 +1153,8 @@ export default class Ship {
|
||||
let cargoCapacity = 0;
|
||||
let fuelCapacity = 0;
|
||||
|
||||
unladenMass += this.bulkheads.m.getMass();
|
||||
|
||||
for (let slotNum in this.standard) {
|
||||
const slot = this.standard[slotNum];
|
||||
if (slot.m) {
|
||||
|
||||
Reference in New Issue
Block a user