diff --git a/OpenRA.Mods.Common/Widgets/Logic/EncyclopediaLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/EncyclopediaLogic.cs index d920fe995e..117d6351a0 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/EncyclopediaLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/EncyclopediaLogic.cs @@ -114,7 +114,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic () => SelectActor(actor)); var label = item.Get("TITLE"); - var name = actor.TraitInfoOrDefault()?.Name; + var name = actor.TraitInfos().FirstOrDefault(info => info.EnabledByDefault)?.Name; if (!string.IsNullOrEmpty(name)) WidgetUtils.TruncateLabelToTooltip(label, TranslationProvider.GetString(name));