From 1ca0fffe5ec8b95311da856dde1e3580bd642946 Mon Sep 17 00:00:00 2001 From: felixlinker Date: Tue, 17 Jul 2018 18:21:10 +0200 Subject: [PATCH] Resetting special effects for blueprints now re-calculates all stats --- src/app/shipyard/Ship.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/shipyard/Ship.js b/src/app/shipyard/Ship.js index a7be5860..c8cbf747 100755 --- a/src/app/shipyard/Ship.js +++ b/src/app/shipyard/Ship.js @@ -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); } /**