mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 06:43:24 +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
|
||||
*/
|
||||
clearModuleSpecial(m) {
|
||||
if (m.blueprint) {
|
||||
m.blueprint.special = null;
|
||||
}
|
||||
this.recalculateDps().recalculateHps().recalculateEps();
|
||||
this.setModuleSpecial(m, null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user