diff --git a/app/js/shipyard/factory-ship.js b/app/js/shipyard/factory-ship.js index 4c698d82..9606e960 100644 --- a/app/js/shipyard/factory-ship.js +++ b/app/js/shipyard/factory-ship.js @@ -190,12 +190,8 @@ angular.module('shipyard').factory('ShipFactory', ['components', 'lodash', funct } this.sgSI = slotIndex; } - } else { - // Deselect current component - slot.id = null; - slot.c = null; + this.updateTotals(); } - this.updateTotals(); }; /**