All computers play the keyboard sound + small research client cleanup (#7312)
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
using Content.Server.UserInterface;
|
||||
using Content.Server.Research.Components;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
|
||||
namespace Content.Server.Research
|
||||
{
|
||||
[UsedImplicitly]
|
||||
@@ -17,12 +15,6 @@ namespace Content.Server.Research
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
SubscribeLocalEvent<ResearchConsoleComponent, AfterActivatableUIOpenEvent>(OnAfterUIOpen);
|
||||
}
|
||||
|
||||
private void OnAfterUIOpen(EntityUid uid, ResearchConsoleComponent component, AfterActivatableUIOpenEvent args)
|
||||
{
|
||||
component.PlayKeyboardSound();
|
||||
}
|
||||
|
||||
public bool RegisterServer(ResearchServerComponent server)
|
||||
|
||||
Reference in New Issue
Block a user