diff --git a/Content.Client/ADT/Lobby/UI/QuirksWindow.xaml.cs b/Content.Client/ADT/Lobby/UI/QuirksWindow.xaml.cs index 36946c40c4c..15ff6c0d4e3 100644 --- a/Content.Client/ADT/Lobby/UI/QuirksWindow.xaml.cs +++ b/Content.Client/ADT/Lobby/UI/QuirksWindow.xaml.cs @@ -41,7 +41,12 @@ public void Populate(HumanoidCharacterProfile profile) else SelectedQuirksLabel.SetMessage(Loc.GetString("quirks-window-selected-none"), null, Color.White); - var protoList = _proto.EnumeratePrototypes().Where(x => x.Quirk && !x.SpeciesBlacklist.Contains(profile.Species)).ToList(); + var protoList = _proto.EnumeratePrototypes() + .Where(x => x.Quirk + && (x.SpeciesWhitelist.Count == 0 || x.SpeciesWhitelist.Contains(profile.Species)) + && !x.SpeciesBlacklist.Contains(profile.Species)) + .ToList(); + protoList.Sort((x, y) => Loc.GetString(x.Name)[0].CompareTo(Loc.GetString(y.Name)[0])); protoList.Sort((x, y) => x.Cost.CompareTo(y.Cost)); diff --git a/Content.Client/ADT/MidroundCustomization/MidroundCustomizationBoundUserInterface.cs b/Content.Client/ADT/MidroundCustomization/MidroundCustomizationBoundUserInterface.cs index b33a3c50f11..72b6168bf36 100644 --- a/Content.Client/ADT/MidroundCustomization/MidroundCustomizationBoundUserInterface.cs +++ b/Content.Client/ADT/MidroundCustomization/MidroundCustomizationBoundUserInterface.cs @@ -22,6 +22,7 @@ protected override void Open() _window.OnSlotColorChanged += args => SendMessage(new MidroundCustomizationChangeColorMessage(args.Category, args.Colors, args.Slot)); _window.OnSlotAdded += args => SendMessage(new MidroundCustomizationAddSlotMessage(args)); _window.OnSlotRemoved += args => SendMessage(new MidroundCustomizationRemoveSlotMessage(args.Category, args.Slot)); + _window.OnPointLightColorToggled += enabled => SendMessage(new MidroundCustomizationPointLightColorToggleMessage(enabled)); _window.OnVoiceChanged += voiceId => SendMessage(new MidroundCustomizationChangeVoiceMessage(voiceId, voiceId)); _window.OnBarkProtoChanged += proto => SendMessage(new MidroundCustomizationChangeBarkProtoMessage(proto)); diff --git a/Content.Client/ADT/MidroundCustomization/MidroundCustomizationWindow.xaml b/Content.Client/ADT/MidroundCustomization/MidroundCustomizationWindow.xaml index 145b8fac5ae..24c225ed7ff 100644 --- a/Content.Client/ADT/MidroundCustomization/MidroundCustomizationWindow.xaml +++ b/Content.Client/ADT/MidroundCustomization/MidroundCustomizationWindow.xaml @@ -5,7 +5,7 @@ -