diff --git a/MekHQ/src/mekhq/campaign/CampaignController.java b/MekHQ/src/mekhq/campaign/CampaignController.java index e0cda011ec..8158d3bacc 100644 --- a/MekHQ/src/mekhq/campaign/CampaignController.java +++ b/MekHQ/src/mekhq/campaign/CampaignController.java @@ -168,15 +168,6 @@ public int getActiveCampaignCount() { return remoteCampaigns.reduceValuesToInt(Integer.MAX_VALUE, rc -> rc.isActive() ? 1 : 0, 0, (x, acc) -> x + acc); } - /** - * Computes the set of inactive campaigns from a set of active campaign IDs. - */ - public void computeInactiveCampaigns(Set activeCampaigns) { - for (UUID clientId : remoteCampaigns.keySet()) { - remoteCampaigns.computeIfPresent(clientId, (key, rc) -> activeCampaigns.contains(clientId) ? rc : rc.withActive(false)); - } - } - /** * Advances the local {@link Campaign} to the next day. */