From baace95f834f1c7bceb0d86aeaef14328aac903b Mon Sep 17 00:00:00 2001 From: Thomas Hurst Date: Sat, 30 Nov 2019 01:19:00 +0000 Subject: [PATCH] Shield engineering should not modify max mass (#473) --- src/app/shipyard/Module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shipyard/Module.js b/src/app/shipyard/Module.js index 22466f93..fc702603 100755 --- a/src/app/shipyard/Module.js +++ b/src/app/shipyard/Module.js @@ -694,7 +694,7 @@ export default class Module { let result = 0; if (this['maxmass']) { result = this['maxmass']; - if (result && modified) { + if (result && modified && !ModuleUtils.isShieldGenerator(this['grp'])) { let mult = this.getModValue('optmass') / 10000; if (mult) { result = result * (1 + mult); } }