Don't log on midi resolve failure (#6819)
This commit is contained in:
@@ -108,7 +108,7 @@ namespace Content.Client.Instruments
|
|||||||
|
|
||||||
public override void EndRenderer(EntityUid uid, bool fromStateChange, SharedInstrumentComponent? component = null)
|
public override void EndRenderer(EntityUid uid, bool fromStateChange, SharedInstrumentComponent? component = null)
|
||||||
{
|
{
|
||||||
if (!Resolve(uid, ref component))
|
if (!Resolve(uid, ref component, false))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (component is not InstrumentComponent instrument)
|
if (component is not InstrumentComponent instrument)
|
||||||
|
|||||||
Reference in New Issue
Block a user