Less hacks to get the same thing done

This commit is contained in:
Kevin Chang
2015-10-07 20:06:04 -07:00
parent 1d4b046723
commit f807f4222f
3 changed files with 6 additions and 10 deletions

View File

@@ -232,8 +232,8 @@ angular.module('app').controller('OutfitController', ['$window', '$rootScope', '
updateState(Serializer.fromShip(ship.useCommon(rating)));
};
$scope.useHardpoint = function(group, mount) {
updateState(Serializer.fromShip(ship.useWeapon(group, mount)));
$scope.useHardpoint = function(group, mount, missile) {
updateState(Serializer.fromShip(ship.useWeapon(group, mount, missile)));
};
$scope.useUtility = function(group, rating) {