Some issues (#452)

* possible UI theming fix

* gob blood

* filter guidebooks by Culture settings

* deleted lobby track
This commit is contained in:
Ed
2024-09-23 18:34:04 +03:00
committed by GitHub
parent ecdb02650b
commit 468e3c9f69
17 changed files with 66 additions and 38 deletions

View File

@@ -5,6 +5,7 @@ using Content.Client.UserInterface.Controls;
using Content.Client.UserInterface.Controls.FancyTree;
using Content.Client.UserInterface.Systems.Info;
using Content.Shared.Guidebook;
using Content.Shared.Localizations;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;
@@ -168,6 +169,8 @@ public sealed partial class GuidebookWindow : FancyWindow, ILinkClickHandler
foreach (var entry in GetSortedEntries(roots))
{
if (!entry.CrystallPunkAllowed) continue; //CrystallPunk guidebook filter
if (entry.LocFilter is not null && entry.LocFilter != ContentLocalizationManager.Culture) continue; //CrystallPunk guidebook filter
AddEntry(entry.Id, parent, addedEntries);
}