19 lines
558 B
C#
19 lines
558 B
C#
using Content.Shared.Interaction.Events;
|
|
|
|
namespace Content.Shared.Nyanotrasen.Interaction
|
|
{
|
|
public sealed class NoNormalInteractionSystem : EntitySystem
|
|
{
|
|
public override void Initialize()
|
|
{
|
|
base.Initialize();
|
|
SubscribeLocalEvent<NoNormalInteractionComponent, InteractionAttemptEvent>(OnInteractionAttempt);
|
|
}
|
|
|
|
private void OnInteractionAttempt(EntityUid uid, NoNormalInteractionComponent component, InteractionAttemptEvent args)
|
|
{
|
|
args.Cancelled = true;
|
|
}
|
|
}
|
|
}
|