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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)