mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
fix: MemberwiseEquals on HumanoidProfileEditor now compares Voice (#44468)
This commit is contained in:
parent
45f2cb74d5
commit
0cb5a6d64f
2 changed files with 2 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ public sealed partial class HumanoidProfileEditor
|
|||
private void SetVoice(ProtoId<EmoteSoundsPrototype> newVoice)
|
||||
{
|
||||
Profile = Profile?.WithVoice(newVoice);
|
||||
IsDirty = true;
|
||||
SetDirty();
|
||||
}
|
||||
|
||||
private void SetGender(Gender newGender)
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue