From 0cb5a6d64f4ad58ef8bf6260414f4db2dbc8f0af Mon Sep 17 00:00:00 2001 From: Falcon Date: Sun, 5 Jul 2026 09:52:15 -0700 Subject: [PATCH] fix: MemberwiseEquals on HumanoidProfileEditor now compares Voice (#44468) --- Content.Client/Lobby/UI/HumanoidProfileEditor.Appearance.cs | 2 +- Content.Shared/Preferences/HumanoidCharacterProfile.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Client/Lobby/UI/HumanoidProfileEditor.Appearance.cs b/Content.Client/Lobby/UI/HumanoidProfileEditor.Appearance.cs index c61e3fb678..26720918f7 100644 --- a/Content.Client/Lobby/UI/HumanoidProfileEditor.Appearance.cs +++ b/Content.Client/Lobby/UI/HumanoidProfileEditor.Appearance.cs @@ -260,7 +260,7 @@ public sealed partial class HumanoidProfileEditor private void SetVoice(ProtoId newVoice) { Profile = Profile?.WithVoice(newVoice); - IsDirty = true; + SetDirty(); } private void SetGender(Gender newGender) diff --git a/Content.Shared/Preferences/HumanoidCharacterProfile.cs b/Content.Shared/Preferences/HumanoidCharacterProfile.cs index 95b81a244c..549e1fb60c 100644 --- a/Content.Shared/Preferences/HumanoidCharacterProfile.cs +++ b/Content.Shared/Preferences/HumanoidCharacterProfile.cs @@ -613,6 +613,7 @@ namespace Content.Shared.Preferences if (Name != other.Name) return false; if (Age != other.Age) return false; if (Sex != other.Sex) return false; + if (Voice != other.Voice) return false; if (Gender != other.Gender) return false; if (Species != other.Species) return false; if (PreferenceUnavailable != other.PreferenceUnavailable) return false;