Stop hair-hiding from logging missing components (#12461)

This commit is contained in:
Leon Friedrich
2022-11-09 09:11:22 +13:00
committed by GitHub
parent 8d56f7d875
commit 43a2b8bd6b

View File

@@ -267,7 +267,7 @@ public sealed partial class HumanoidSystem : SharedHumanoidSystem
/// <param name="humanoid">Humanoid component of the entity</param>
public void ToggleHiddenLayer(EntityUid uid, HumanoidVisualLayers layer, HumanoidComponent? humanoid = null)
{
if (!Resolve(uid, ref humanoid))
if (!Resolve(uid, ref humanoid, false))
{
return;
}