mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 06:43:24 +00:00
Fix crash when clearing a speical
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
#2.3.4
|
||||||
|
* Fix crash when removing the special effect from a module
|
||||||
|
|
||||||
#2.3.3
|
#2.3.3
|
||||||
* Remove unused blueprint when hitting reset
|
* Remove unused blueprint when hitting reset
|
||||||
* Add 'purchase module' external link to EDDB for refit items
|
* Add 'purchase module' external link to EDDB for refit items
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ export default class ModificationsMenu extends TranslatedComponent {
|
|||||||
const { m, ship } = this.props;
|
const { m, ship } = this.props;
|
||||||
|
|
||||||
if (special === null) {
|
if (special === null) {
|
||||||
ship.clearModuelSpecial(m);
|
ship.clearModuleSpecial(m);
|
||||||
} else {
|
} else {
|
||||||
ship.setModuleSpecial(m, Modifications.specials[special]);
|
ship.setModuleSpecial(m, Modifications.specials[special]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user