mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 14:45:35 +00:00
Resetting special effects for blueprints now re-calculates all stats
This commit is contained in:
@@ -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();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user