From 90f4f365dfa99209aa76b1d4b1daa737c80907d4 Mon Sep 17 00:00:00 2001 From: Hannah Giovanna Dawson Date: Sat, 2 Aug 2025 18:31:46 +0100 Subject: [PATCH] Don't purge note buffer when starting/switching MIDI songs (#39335) Stop stuck notes on remote when changing MIDI song --- Content.Client/Instruments/InstrumentSystem.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Content.Client/Instruments/InstrumentSystem.cs b/Content.Client/Instruments/InstrumentSystem.cs index d861f4163b..c01845bb13 100644 --- a/Content.Client/Instruments/InstrumentSystem.cs +++ b/Content.Client/Instruments/InstrumentSystem.cs @@ -294,7 +294,6 @@ public sealed partial class InstrumentSystem : SharedInstrumentSystem SetMaster(uid, null); TrySetChannels(uid, data); - instrument.MidiEventBuffer.Clear(); instrument.Renderer.OnMidiEvent += instrument.MidiEventBuffer.Add; return true; } -- 2.51.2