Merge pull request #319 from felixlinker/blueprint-special-resets

Resetting special effects for blueprints now re-calculates all stats
This commit is contained in:
William
2018-07-18 08:04:39 +10:00
committed by GitHub

View File

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