]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove invalid error logging in HideLayerClothingSystem (#36529)
authorLeon Friedrich <60421075+ElectroJr@users.noreply.github.com>
Mon, 14 Apr 2025 04:56:37 +0000 (14:56 +1000)
committerGitHub <noreply@github.com>
Mon, 14 Apr 2025 04:56:37 +0000 (14:56 +1000)
Content.Shared/Clothing/EntitySystems/HideLayerClothingSystem.cs

index 323884ab36612e8cb746627af2ccbbff23d558da..44d72b248b489a73292d1749113eb1d4e48107ba 100644 (file)
@@ -45,7 +45,8 @@ public sealed class HideLayerClothingSystem : EntitySystem
         if (!Resolve(clothing.Owner, ref clothing.Comp1, ref clothing.Comp2))
             return;
 
-        if (!Resolve(user.Owner, ref user.Comp))
+        // logMissing: false, as this clothing might be getting equipped by a non-human.
+        if (!Resolve(user.Owner, ref user.Comp, false))
             return;
 
         hideLayers &= IsEnabled(clothing!);