From 43a2b8bd6b6f5c81bde40f74bbcec6ddb0963e48 Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Wed, 9 Nov 2022 09:11:22 +1300 Subject: [PATCH] Stop hair-hiding from logging missing components (#12461) --- Content.Server/Humanoid/Systems/HumanoidSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Humanoid/Systems/HumanoidSystem.cs b/Content.Server/Humanoid/Systems/HumanoidSystem.cs index 0e2f6f1bd4..51060c8634 100644 --- a/Content.Server/Humanoid/Systems/HumanoidSystem.cs +++ b/Content.Server/Humanoid/Systems/HumanoidSystem.cs @@ -267,7 +267,7 @@ public sealed partial class HumanoidSystem : SharedHumanoidSystem /// Humanoid component of the entity public void ToggleHiddenLayer(EntityUid uid, HumanoidVisualLayers layer, HumanoidComponent? humanoid = null) { - if (!Resolve(uid, ref humanoid)) + if (!Resolve(uid, ref humanoid, false)) { return; }