fix clone appearance (#37130)
This commit is contained in:
@@ -39,6 +39,7 @@ public abstract class SharedHumanoidAppearanceSystem : EntitySystem
|
||||
[Dependency] private readonly ISerializationManager _serManager = default!;
|
||||
[Dependency] private readonly MarkingManager _markingManager = default!;
|
||||
[Dependency] private readonly GrammarSystem _grammarSystem = default!;
|
||||
[Dependency] private readonly SharedIdentitySystem _identity = default!;
|
||||
|
||||
[ValidatePrototypeId<SpeciesPrototype>]
|
||||
public const string DefaultSpecies = "Human";
|
||||
@@ -161,6 +162,7 @@ public abstract class SharedHumanoidAppearanceSystem : EntitySystem
|
||||
if (TryComp<GrammarComponent>(target, out var grammar))
|
||||
_grammarSystem.SetGender((target, grammar), sourceHumanoid.Gender);
|
||||
|
||||
_identity.QueueIdentityUpdate(target);
|
||||
Dirty(target, targetHumanoid);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user