Kill UserInterfaceHelpers (#20912)
This commit is contained in:
@@ -5,7 +5,6 @@ using Content.Server.Stunnable;
|
||||
using Content.Shared.Administration;
|
||||
using Content.Shared.Instruments;
|
||||
using Content.Shared.Instruments.UI;
|
||||
using Content.Shared.Interaction;
|
||||
using Content.Shared.Physics;
|
||||
using Content.Shared.Popups;
|
||||
using JetBrains.Annotations;
|
||||
@@ -17,7 +16,6 @@ using Robust.Shared.Configuration;
|
||||
using Robust.Shared.Console;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Timing;
|
||||
using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Server.Instruments;
|
||||
|
||||
@@ -435,9 +433,7 @@ public sealed partial class InstrumentSystem : SharedInstrumentSystem
|
||||
|
||||
// Just in case
|
||||
Clean(uid);
|
||||
|
||||
if (instrument.UserInterface is not null)
|
||||
_bui.CloseAll(instrument.UserInterface);
|
||||
_bui.TryCloseAll(uid, InstrumentUiKey.Key);
|
||||
}
|
||||
|
||||
instrument.Timer += frameTime;
|
||||
|
||||
Reference in New Issue
Block a user