@@ -13,7 +13,7 @@ using Robust.Shared.Map;
|
||||
namespace Content.Server.GameObjects.Components.Power
|
||||
{
|
||||
[RegisterComponent]
|
||||
internal class WirePlacerComponent : Component, IAfterAttack
|
||||
internal class WirePlacerComponent : Component, IAfterInteract
|
||||
{
|
||||
#pragma warning disable 649
|
||||
[Dependency] private readonly IServerEntityManager _entityManager;
|
||||
@@ -24,7 +24,7 @@ namespace Content.Server.GameObjects.Components.Power
|
||||
public override string Name => "WirePlacer";
|
||||
|
||||
/// <inheritdoc />
|
||||
public void AfterAttack(AfterAttackEventArgs eventArgs)
|
||||
public void AfterInteract(AfterInteractEventArgs eventArgs)
|
||||
{
|
||||
if (!InteractionChecks.InRangeUnobstructed(eventArgs)) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user