Move ComputerUIActivatorSystem to Computer namespace.

This commit is contained in:
Vera Aguilera Puerto
2021-06-20 11:42:37 +02:00
parent f7f996e168
commit f7b89daa74
4 changed files with 3 additions and 6 deletions

View File

@@ -0,0 +1,22 @@
using Content.Server.GameObjects.Components;
using Content.Shared.Interaction;
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
namespace Content.Server.Computer
{
[UsedImplicitly]
internal sealed class ComputerUIActivatorSystem : EntitySystem
{
public override void Initialize()
{
base.Initialize();
SubscribeLocalEvent<BaseComputerUserInterfaceComponent, ActivateInWorldEvent>(HandleActivate);
}
private void HandleActivate(EntityUid uid, BaseComputerUserInterfaceComponent component, ActivateInWorldEvent args)
{
component.ActivateThunk(args);
}
}
}