Don't log on midi resolve failure (#6819)

This commit is contained in:
metalgearsloth
2022-02-21 15:38:42 +11:00
committed by GitHub
parent 16f45c0a9a
commit 563d4f4cbd

View File

@@ -108,7 +108,7 @@ namespace Content.Client.Instruments
public override void EndRenderer(EntityUid uid, bool fromStateChange, SharedInstrumentComponent? component = null)
{
if (!Resolve(uid, ref component))
if (!Resolve(uid, ref component, false))
return;
if (component is not InstrumentComponent instrument)