mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 22:55:35 +00:00
Fix thruster warning bug
This commit is contained in:
@@ -171,7 +171,7 @@ export default class StandardSlotSection extends SlotSection {
|
|||||||
onSelect={select.bind(this, st[1])}
|
onSelect={select.bind(this, st[1])}
|
||||||
selected={currentMenu == st[1]}
|
selected={currentMenu == st[1]}
|
||||||
ship={ship}
|
ship={ship}
|
||||||
warning={m => m.maxmass < ship.ladenMass}
|
warning={m => m.maxmass < (ship.ladenMass - st[1].mass + m.mass)}
|
||||||
/>;
|
/>;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user