mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 15:15:34 +00:00
Removed synthetic values from modifications menu
This commit is contained in:
@@ -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(<Modification key={stat} ship={ship} name={stat}
|
|
||||||
m={m} onChange={() => { }} onKeyDown={() => { }} editable={false}
|
|
||||||
handleModChange={() => { }} modItems={this.modItems}
|
|
||||||
value={ m.getModValue(stat) / 100 || 0 } />);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
modifiableModifications.sort(MODIFICATIONS_COMPARATOR);
|
modifiableModifications.sort(MODIFICATIONS_COMPARATOR);
|
||||||
modifications.sort(MODIFICATIONS_COMPARATOR);
|
modifications.sort(MODIFICATIONS_COMPARATOR);
|
||||||
return modifiableModifications.concat(modifications);
|
return modifiableModifications.concat(modifications);
|
||||||
|
|||||||
Reference in New Issue
Block a user