From 5d1ccd2a2040ec594b6fea917c98b7cf07e5af8e Mon Sep 17 00:00:00 2001 From: Felix Linker Date: Sun, 9 Sep 2018 16:07:01 +0200 Subject: [PATCH] Removed synthetic values from modifications menu --- src/app/components/ModificationsMenu.jsx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/app/components/ModificationsMenu.jsx b/src/app/components/ModificationsMenu.jsx index 2f9a62d4..9607d475 100644 --- a/src/app/components/ModificationsMenu.jsx +++ b/src/app/components/ModificationsMenu.jsx @@ -226,17 +226,6 @@ export default class ModificationsMenu extends TranslatedComponent { } } - // If the module can inflict damage we can show damage related stats - const hardPointStats = ['dps', 'dpe', 'eps', 'hps', 'sdps']; - if (m.getDamage()) { - for (const stat of hardPointStats) { - modifications.push( { }} onKeyDown={() => { }} editable={false} - handleModChange={() => { }} modItems={this.modItems} - value={ m.getModValue(stat) / 100 || 0 } />); - } - } - modifiableModifications.sort(MODIFICATIONS_COMPARATOR); modifications.sort(MODIFICATIONS_COMPARATOR); return modifiableModifications.concat(modifications);