Don't purge note buffer when starting/switching MIDI songs (#39335)
Stop stuck notes on remote when changing MIDI song
This commit is contained in:
parent
e82dc13bf9
commit
90f4f365df
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue