Restores missing pronouns. Oops! (#5051)
This commit is contained in:
@@ -4,6 +4,7 @@ using Content.Shared.CharacterAppearance.Components;
|
||||
using Content.Shared.Preferences;
|
||||
using Robust.Shared.Enums;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.GameObjects.Components.Localization;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
@@ -38,6 +39,9 @@ namespace Content.Shared.CharacterAppearance.Systems
|
||||
component.Sex = sex;
|
||||
component.Gender = gender;
|
||||
|
||||
if (EntityManager.TryGetComponent(uid, out GrammarComponent? g))
|
||||
g.Gender = gender;
|
||||
|
||||
component.Dirty();
|
||||
|
||||
RaiseLocalEvent(uid, new ChangedHumanoidAppearanceEvent(appearance, sex, gender));
|
||||
|
||||
Reference in New Issue
Block a user