Fix crash when clearing a speical

This commit is contained in:
Cmdr McDonald
2017-04-20 13:17:30 +01:00
parent 4ea0bbfb93
commit 1516bd4fc0
2 changed files with 4 additions and 1 deletions

View File

@@ -156,7 +156,7 @@ export default class ModificationsMenu extends TranslatedComponent {
const { m, ship } = this.props;
if (special === null) {
ship.clearModuelSpecial(m);
ship.clearModuleSpecial(m);
} else {
ship.setModuleSpecial(m, Modifications.specials[special]);
}