mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 15:15:34 +00:00
Alter auto-fill clobbering behavior for hardpoints
This commit is contained in:
@@ -232,12 +232,12 @@ angular.module('app').controller('OutfitController', ['$window', '$rootScope', '
|
||||
updateState(Serializer.fromShip(ship.useCommon(rating)));
|
||||
};
|
||||
|
||||
$scope.useHardpoint = function(group, mount, missile) {
|
||||
updateState(Serializer.fromShip(ship.useWeapon(group, mount, missile)));
|
||||
$scope.useHardpoint = function(group, mount, clobber, missile) {
|
||||
updateState(Serializer.fromShip(ship.useWeapon(group, mount, clobber, missile)));
|
||||
};
|
||||
|
||||
$scope.useUtility = function(group, rating) {
|
||||
updateState(Serializer.fromShip(ship.useUtility(group, rating)));
|
||||
$scope.useUtility = function(group, rating, clobber) {
|
||||
updateState(Serializer.fromShip(ship.useUtility(group, rating, clobber)));
|
||||
};
|
||||
|
||||
$scope.emptyInternal = function() {
|
||||
|
||||
Reference in New Issue
Block a user