From 4e8c2d8ffdc846aa444fd14d3f58ead176a23bae Mon Sep 17 00:00:00 2001 From: cwspain Date: Tue, 5 Sep 2023 13:18:42 -0500 Subject: [PATCH] Fix variable tech level setting in MM unit selector without breaking MML. --- MekHQ/src/mekhq/gui/dialog/MekHQUnitSelectorDialog.java | 1 + 1 file changed, 1 insertion(+) diff --git a/MekHQ/src/mekhq/gui/dialog/MekHQUnitSelectorDialog.java b/MekHQ/src/mekhq/gui/dialog/MekHQUnitSelectorDialog.java index 312102ac66..66bc8e4cac 100644 --- a/MekHQ/src/mekhq/gui/dialog/MekHQUnitSelectorDialog.java +++ b/MekHQ/src/mekhq/gui/dialog/MekHQUnitSelectorDialog.java @@ -59,6 +59,7 @@ public void updateOptionValues() { allowedYear = campaign.getGameYear(); canonOnly = campaign.getCampaignOptions().isAllowCanonOnly(); gameTechLevel = campaign.getCampaignOptions().getTechLevel(); + eraBasedTechLevel = campaign.getCampaignOptions().isVariableTechLevel(); if (campaign.getCampaignOptions().isAllowClanPurchases() && campaign.getCampaignOptions().isAllowISPurchases()) { techLevelDisplayType = TECH_LEVEL_DISPLAY_IS_CLAN;