mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-02-15 05:50:54 +01:00
23 lines
668 B
C#
23 lines
668 B
C#
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);
|
|
}
|
|
}
|
|
}
|