From 563d4f4cbdb3c0f2084d4e92ec1479d618dcf9b8 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Mon, 21 Feb 2022 15:38:42 +1100 Subject: [PATCH] Don't log on midi resolve failure (#6819) --- Content.Client/Instruments/InstrumentSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Client/Instruments/InstrumentSystem.cs b/Content.Client/Instruments/InstrumentSystem.cs index 6f6faad64c..0594171dc6 100644 --- a/Content.Client/Instruments/InstrumentSystem.cs +++ b/Content.Client/Instruments/InstrumentSystem.cs @@ -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)