Resetting special effects for blueprints now re-calculates all stats

This commit is contained in:
felixlinker
2018-07-17 18:21:10 +02:00
parent 72ea3f125e
commit 1ca0fffe5e

View File

@@ -484,10 +484,7 @@ export default class Ship {
* @param {Object} m The module for which to clear the blueprint * @param {Object} m The module for which to clear the blueprint
*/ */
clearModuleSpecial(m) { clearModuleSpecial(m) {
if (m.blueprint) { this.setModuleSpecial(m, null);
m.blueprint.special = null;
}
this.recalculateDps().recalculateHps().recalculateEps();
} }
/** /**