]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Copy eyecolor, and age on cloning (#14296)
authorwrexbe <81056464+wrexbe@users.noreply.github.com>
Tue, 28 Feb 2023 15:40:02 +0000 (07:40 -0800)
committerGitHub <noreply@github.com>
Tue, 28 Feb 2023 15:40:02 +0000 (11:40 -0400)
Content.Server/Humanoid/Systems/HumanoidAppearanceSystem.cs

index fe5b98e7de6a7195a8fe3ba8d568f63fdfb1405a..ed83b7c1899e4df556180c4f898c0c2d3d87fee2 100644 (file)
@@ -121,6 +121,8 @@ public sealed partial class HumanoidAppearanceSystem : SharedHumanoidAppearanceS
 
         targetHumanoid.Species = sourceHumanoid.Species;
         targetHumanoid.SkinColor = sourceHumanoid.SkinColor;
+        targetHumanoid.EyeColor = sourceHumanoid.EyeColor;
+        targetHumanoid.Age = sourceHumanoid.Age;
         SetSex(target, sourceHumanoid.Sex, false, targetHumanoid);
         targetHumanoid.CustomBaseLayers = new(sourceHumanoid.CustomBaseLayers);
         targetHumanoid.MarkingSet = new(sourceHumanoid.MarkingSet);