diff --git a/ChangeLog.md b/ChangeLog.md index c7ddf17b..22e77f41 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,6 @@ #2.3.6 * Update miner role to provide better defaults + * Fix issue where torpedo special effects were not showing #2.3.5 * Ensure that hidden blueprint effects are applied when a blueprint is selected diff --git a/src/app/components/ModificationsMenu.jsx b/src/app/components/ModificationsMenu.jsx index 5d84b88b..bca617fb 100644 --- a/src/app/components/ModificationsMenu.jsx +++ b/src/app/components/ModificationsMenu.jsx @@ -88,7 +88,7 @@ export default class ModificationsMenu extends TranslatedComponent { const translate = language.translate; const specials = []; - const specialsId = m.missile ? 'specials_' + m.missile : 'specials'; + const specialsId = m.missile && Modifications.modules[m.grp]['specials_' + m.missile] ? 'specials_' + m.missile : 'specials'; if (Modifications.modules[m.grp][specialsId] && Modifications.modules[m.grp][specialsId].length > 0) { const close = this._specialSelected.bind(this, null); specials.push(
{translate('PHRASE_NO_SPECIAL')}
);