]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fix polymorph errors (#38409)
authorslarticodefast <161409025+slarticodefast@users.noreply.github.com>
Tue, 17 Jun 2025 20:16:24 +0000 (22:16 +0200)
committerGitHub <noreply@github.com>
Tue, 17 Jun 2025 20:16:24 +0000 (16:16 -0400)
fix polymorph error

Content.Shared/Humanoid/SharedHumanoidAppearanceSystem.cs
Resources/Prototypes/Polymorphs/polymorph.yml

index b31abbda32143d369b1ea036615901f94f0453aa..26690896502041ecb22b2f2b45444c62acae6b64 100644 (file)
@@ -146,7 +146,7 @@ public abstract class SharedHumanoidAppearanceSystem : EntitySystem
     public void CloneAppearance(EntityUid source, EntityUid target, HumanoidAppearanceComponent? sourceHumanoid = null,
         HumanoidAppearanceComponent? targetHumanoid = null)
     {
-        if (!Resolve(source, ref sourceHumanoid) || !Resolve(target, ref targetHumanoid))
+        if (!Resolve(source, ref sourceHumanoid, false) || !Resolve(target, ref targetHumanoid, false))
             return;
 
         targetHumanoid.Species = sourceHumanoid.Species;
index ad1c52cf28a2ef66f2c0e41b1774aaa0b5b40e1e..531a6a8d8b44a591765fb86c4bd8120400de1d60 100644 (file)
     entity: MobLizard
     forced: true
     transferName: true
-    transferHumanoidAppearance: true
     inventory: None
     revertOnDeath: true
     revertOnCrit: true
     entity: MobLuminousPerson
     forced: true
     transferName: true
-    transferHumanoidAppearance: true
     inventory: None
     revertOnDeath: true
     revertOnCrit: true