From: Hannah Giovanna Dawson Date: Sat, 2 Aug 2025 17:31:46 +0000 (+0100) Subject: Don't purge note buffer when starting/switching MIDI songs (#39335) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=90f4f365dfa99209aa76b1d4b1daa737c80907d4;p=space-station-14.git Don't purge note buffer when starting/switching MIDI songs (#39335) Stop stuck notes on remote when changing MIDI song --- 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; }