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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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