From 228702c9e1f9188a526ca531dc6e26451e575ad8 Mon Sep 17 00:00:00 2001 From: DrSmugleaf Date: Fri, 7 Aug 2020 22:30:48 +0200 Subject: [PATCH] Fix ghosts being able to play instruments to themselves (#1611) --- .../GameObjects/Components/Instruments/InstrumentComponent.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Server/GameObjects/Components/Instruments/InstrumentComponent.cs b/Content.Server/GameObjects/Components/Instruments/InstrumentComponent.cs index efefa21221..f73f8827c4 100644 --- a/Content.Server/GameObjects/Components/Instruments/InstrumentComponent.cs +++ b/Content.Server/GameObjects/Components/Instruments/InstrumentComponent.cs @@ -302,6 +302,7 @@ namespace Content.Server.GameObjects.Components.Instruments { InstrumentPlayer = null; Clean(); + _userInterface.CloseAll(); } if ((_batchesDropped >= MaxMidiBatchDropped