diff --git a/src/app/components/HardpointSlot.jsx b/src/app/components/HardpointSlot.jsx
index 7d876bf8..796fc2c0 100644
--- a/src/app/components/HardpointSlot.jsx
+++ b/src/app/components/HardpointSlot.jsx
@@ -45,13 +45,12 @@ export default class HardpointSlot extends Slot {
return
- {m.mount && m.mount == 'F' ? : ''}
- {m.mount && m.mount == 'G' ? : ''}
- {m.mount && m.mount == 'T' ? : ''}
- {m.type && m.type == 'K' ? : ''}
- {m.type && m.type == 'T' ? : ''}
- {m.type && m.type == 'KT' ? : ''}
- {m.type && m.type == 'E' ? : ''}
+ {m.mount && m.mount == 'F' ? : ''}
+ {m.mount && m.mount == 'G' ? : ''}
+ {m.mount && m.mount == 'T' ? : ''}
+ {m.type && m.type.match('K') ? : ''}
+ {m.type && m.type.match('T') ? : ''}
+ {m.type && m.type.match('E') ? : ''}
{classRating} {translate(m.name || m.grp)}
{formats.round1(m.getMass())}{u.T}
diff --git a/src/app/shipyard/Ship.js b/src/app/shipyard/Ship.js
index 459824ff..f7949c5e 100755
--- a/src/app/shipyard/Ship.js
+++ b/src/app/shipyard/Ship.js
@@ -573,7 +573,7 @@ export default class Ship {
if (parts[3]) {
const modstr = parts[3].replace(/-/g, '/');
if (modstr.match(':')) {
- this.decodeModificationsString(LZString.decompressFromBase64(modstr), mods);
+ this.decodeModificationsString(modstr, mods);
} else {
this.decodeModificationsStruct(Buffer.from(modstr, 'base64'), mods);
}