diff --git a/src/app/components/DamageDealt.jsx b/src/app/components/DamageDealt.jsx index 2b88a07c..3fd7e826 100644 --- a/src/app/components/DamageDealt.jsx +++ b/src/app/components/DamageDealt.jsx @@ -142,7 +142,7 @@ export default class DamageDealt extends TranslatedComponent { let engineering; if (m.blueprint && m.blueprint.name) { engineering = translate(m.blueprint.name) + ' ' + translate('grade') + ' ' + m.blueprint.grade; - if (m.blueprint.special && m.blueprint.special.id) { + if (m.blueprint.special && m.blueprint.special.id >= 0) { engineering += ', ' + translate(m.blueprint.special.name); } } diff --git a/src/app/components/HardpointSlot.jsx b/src/app/components/HardpointSlot.jsx index 826bc7c2..ce8416a9 100644 --- a/src/app/components/HardpointSlot.jsx +++ b/src/app/components/HardpointSlot.jsx @@ -48,7 +48,7 @@ export default class HardpointSlot extends Slot { let modTT = translate('modified'); if (m && m.blueprint && m.blueprint.name) { modTT = translate(m.blueprint.name) + ' ' + translate('grade') + ' ' + m.blueprint.grade; - if (m.blueprint.special && m.blueprint.special.id) { + if (m.blueprint.special && m.blueprint.special.id >= 0) { modTT += ', ' + translate(m.blueprint.special.name); } }