diff --git a/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyLogic.cs index 0bc0e5181c..8f4ab743b9 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyLogic.cs @@ -468,7 +468,11 @@ namespace OpenRA.Mods.Common.Widgets.Logic { var techTraits = modRules.Actors["player"].Traits.WithInterface().ToList(); techLevel.IsVisible = () => techTraits.Count > 0; - optionsBin.GetOrNull("TECHLEVEL_DESC").IsVisible = () => techTraits.Count > 0; + + var techLevelDescription = optionsBin.GetOrNull("TECHLEVEL_DESC"); + if (techLevelDescription != null) + techLevelDescription.IsVisible = () => techTraits.Count > 0; + techLevel.IsDisabled = () => Map.Status != MapStatus.Available || Map.Map.Options.TechLevel != null || configurationDisabled() || techTraits.Count <= 1; techLevel.GetText = () => Map.Status != MapStatus.Available ||