Power Distributor required for Boost. Resolves #17

This commit is contained in:
Colin McLeod
2015-07-20 13:37:03 -07:00
parent 77334341ea
commit c96e6afbd7
25 changed files with 61 additions and 21 deletions

View File

@@ -371,6 +371,10 @@ angular.module('app').controller('OutfitController', ['$window', '$rootScope', '
$scope.costTab = tab;
};
$scope.pdWarning = function(pd) {
return pd.enginecapacity < ship.boostEnergy;
}
// Hide any open menu/slot/etc if the background is clicked
$scope.$on('close', function() {
$scope.selectedSlot = null;