From 7222b6d8e2bf4c3ca919356afd2e3290f22aa103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Aguilera=20Puerto?= Date: Fri, 29 May 2020 16:42:37 +0200 Subject: [PATCH] Opening MIDI file stops current MIDI file playback --- Content.Client/Instruments/InstrumentMenu.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Client/Instruments/InstrumentMenu.cs b/Content.Client/Instruments/InstrumentMenu.cs index 171263e811..683a96c359 100644 --- a/Content.Client/Instruments/InstrumentMenu.cs +++ b/Content.Client/Instruments/InstrumentMenu.cs @@ -182,6 +182,7 @@ namespace Content.Client.Instruments return; } + MidiStopButtonOnPressed(null); if (!_owner.Instrument.OpenMidi(filename)) return; MidiPlaybackSetButtonsDisabled(false); if (midiInputButton.Pressed)