Fix appearance being lost on cloning (#11250)

This commit is contained in:
och-och
2022-09-16 17:13:46 +03:00
committed by GitHub
parent 8d39668f16
commit b92175c562
2 changed files with 2 additions and 3 deletions

View File

@@ -220,8 +220,7 @@ namespace Content.Server.Cloning.Systems
// end of genetic damage checks
var mob = Spawn(speciesPrototype.Prototype, Transform(clonePod.Owner).MapPosition);
_appearanceSystem.UpdateAppearance(mob, humanoid.Appearance);
_appearanceSystem.UpdateSexGender(mob, humanoid.Sex, humanoid.Gender);
_appearanceSystem.UpdateAppearance(mob, humanoid.Appearance, humanoid.Sex, humanoid.Gender, humanoid.Species, humanoid.Age);
MetaData(mob).EntityName = MetaData(bodyToClone).EntityName;