From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Mon, 14 Apr 2025 04:56:37 +0000 (+1000) Subject: Remove invalid error logging in HideLayerClothingSystem (#36529) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=4f8f2de5612251672c0292c6a867122b7bcdfdbc;p=space-station-14.git Remove invalid error logging in HideLayerClothingSystem (#36529) --- 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!);