diff --git a/Content.Server/Singularity/EntitySystems/ContainmentFieldGeneratorSystem.cs b/Content.Server/Singularity/EntitySystems/ContainmentFieldGeneratorSystem.cs index 6d97c8ccb3ddc7..bda7d20a8e04a6 100644 --- a/Content.Server/Singularity/EntitySystems/ContainmentFieldGeneratorSystem.cs +++ b/Content.Server/Singularity/EntitySystems/ContainmentFieldGeneratorSystem.cs @@ -31,7 +31,7 @@ public override void Initialize() SubscribeLocalEvent(HandleGeneratorCollide); SubscribeLocalEvent(OnExamine); - SubscribeLocalEvent(OnInteract); + SubscribeLocalEvent(OnActivate); SubscribeLocalEvent(OnAnchorChanged); SubscribeLocalEvent(OnReanchorEvent); SubscribeLocalEvent(OnUnanchorAttempt); @@ -90,7 +90,7 @@ private void OnExamine(EntityUid uid, ContainmentFieldGeneratorComponent compone args.PushMarkup(Loc.GetString("comp-containment-off")); } - private void OnInteract(Entity generator, ref InteractHandEvent args) + private void OnActivate(Entity generator, ref ActivateInWorldEvent args) { if (args.Handled) return; diff --git a/Content.Server/Singularity/EntitySystems/EmitterSystem.cs b/Content.Server/Singularity/EntitySystems/EmitterSystem.cs index f828139ed6fe0e..d3c5f8bb9cff22 100644 --- a/Content.Server/Singularity/EntitySystems/EmitterSystem.cs +++ b/Content.Server/Singularity/EntitySystems/EmitterSystem.cs @@ -45,7 +45,7 @@ public override void Initialize() SubscribeLocalEvent(ReceivedChanged); SubscribeLocalEvent(OnApcChanged); - SubscribeLocalEvent(OnInteractHand); + SubscribeLocalEvent(OnActivate); SubscribeLocalEvent>(OnGetVerb); SubscribeLocalEvent(OnExamined); SubscribeLocalEvent(OnAnchorStateChanged); @@ -60,7 +60,7 @@ private void OnAnchorStateChanged(EntityUid uid, EmitterComponent component, ref SwitchOff(uid, component); } - private void OnInteractHand(EntityUid uid, EmitterComponent component, InteractHandEvent args) + private void OnActivate(EntityUid uid, EmitterComponent component, ActivateInWorldEvent args) { if (args.Handled) return; diff --git a/Content.Server/Singularity/EntitySystems/RadiationCollectorSystem.cs b/Content.Server/Singularity/EntitySystems/RadiationCollectorSystem.cs index 797e1bda00d557..bdd775c79273c5 100644 --- a/Content.Server/Singularity/EntitySystems/RadiationCollectorSystem.cs +++ b/Content.Server/Singularity/EntitySystems/RadiationCollectorSystem.cs @@ -30,7 +30,7 @@ public sealed class RadiationCollectorSystem : EntitySystem public override void Initialize() { base.Initialize(); - SubscribeLocalEvent(OnInteractHand); + SubscribeLocalEvent(OnActivate); SubscribeLocalEvent(OnRadiation); SubscribeLocalEvent(OnExamined); SubscribeLocalEvent(OnAnalyzed); @@ -65,7 +65,7 @@ private void OnTankChanged(EntityUid uid, RadiationCollectorComponent component, UpdateTankAppearance(uid, component, gasTank); } - private void OnInteractHand(EntityUid uid, RadiationCollectorComponent component, InteractHandEvent args) + private void OnActivate(EntityUid uid, RadiationCollectorComponent component, ActivateInWorldEvent args) { if (TryComp(uid, out UseDelayComponent? useDelay) && !_useDelay.TryResetDelay((uid, useDelay), true)) return;