mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 07:05:35 +00:00
Less hacks to get the same thing done
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user