From da274f1b75b5bea95caded68383441a23f407749 Mon Sep 17 00:00:00 2001 From: Cmdr McDonald Date: Thu, 30 Mar 2017 08:17:13 +0100 Subject: [PATCH] Fix issue for additive specials not showing up --- src/app/components/ModificationsMenu.jsx | 2 ++ src/app/shipyard/Module.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/components/ModificationsMenu.jsx b/src/app/components/ModificationsMenu.jsx index 3a8a19ed..d576419f 100644 --- a/src/app/components/ModificationsMenu.jsx +++ b/src/app/components/ModificationsMenu.jsx @@ -110,6 +110,7 @@ export default class ModificationsMenu extends TranslatedComponent { * @param {int} grade The grade of the selected blueprint */ _blueprintSelected(fdname, grade) { + this.context.tooltip(null); const { m } = this.props; const blueprint = getBlueprint(fdname, m); blueprint.grade = grade; @@ -133,6 +134,7 @@ export default class ModificationsMenu extends TranslatedComponent { * @param {int} special The name of the selected special */ _specialSelected(special) { + this.context.tooltip(null); const { m, ship } = this.props; if (m.blueprint) { diff --git a/src/app/shipyard/Module.js b/src/app/shipyard/Module.js index 710c1528..37984d85 100755 --- a/src/app/shipyard/Module.js +++ b/src/app/shipyard/Module.js @@ -48,7 +48,7 @@ export default class Module { // this special effect modifies our returned value const modification = Modifications.modifications[name]; if (modification.method === 'additive') { - result = result + modifierActions[name]; + result = result + modifierActions[name] * 100; } else if (modification.method === 'overwrite') { result = modifierActions[name]; } else {