Fix PD/boost calculation

This commit is contained in:
Cmdr McDonald
2017-03-02 14:37:03 +00:00
parent d4b384eded
commit 5937843be8
4 changed files with 4 additions and 3 deletions

View File

@@ -126,7 +126,7 @@ export default class ModuleSet {
let pd = this.standard[4][0];
for (let p of this.standard[4]) {
if (p.mass < pd.mass && p.engcap >= boostEnergy) {
if (p.mass < pd.mass && p.engcap > boostEnergy) {
pd = p;
}
}