Add optimal multiplier to thrusters

This commit is contained in:
Cmdr McDonald
2017-03-27 11:04:17 +01:00
parent b66baef998
commit d8ac185b4d
2 changed files with 3 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ export function blueprintTooltip(translate, blueprint, engineers, m) {
current = Math.round(current / 10) / 10;
} else if (featureDef.type === 'numeric') {
current /= 100;
}
}
const currentIsBeneficial = isValueBeneficial(feature, current);
effects.push(
<tr key={feature}>
@@ -74,7 +74,7 @@ export function blueprintTooltip(translate, blueprint, engineers, m) {
current = Math.round(current / 10) / 10;
} else if (featureDef.type === 'numeric') {
current /= 100;
}
}
const currentIsBeneficial = isValueBeneficial(feature, current);
effects.push(
<tr key={feature}>