From 4f8f2de5612251672c0292c6a867122b7bcdfdbc Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Mon, 14 Apr 2025 14:56:37 +1000 Subject: [PATCH] Remove invalid error logging in HideLayerClothingSystem (#36529) --- .../Clothing/EntitySystems/HideLayerClothingSystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Shared/Clothing/EntitySystems/HideLayerClothingSystem.cs b/Content.Shared/Clothing/EntitySystems/HideLayerClothingSystem.cs index 323884ab36..44d72b248b 100644 --- a/Content.Shared/Clothing/EntitySystems/HideLayerClothingSystem.cs +++ b/Content.Shared/Clothing/EntitySystems/HideLayerClothingSystem.cs @@ -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!); -- 2.51.2