Fix remnants of IAfterAttack

This commit is contained in:
zumorica
2020-05-24 13:47:13 +02:00
parent 1c00bf2855
commit 3cf2948f82
3 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ using Robust.Shared.Serialization;
namespace Content.Server.GameObjects.Components.Interactable
{
[RegisterComponent]
public class TilePryingComponent : Component, IAfterAttack
public class TilePryingComponent : Component, IAfterInteract
{
#pragma warning disable 649
[Dependency] private IEntitySystemManager _entitySystemManager;
@@ -26,7 +26,7 @@ namespace Content.Server.GameObjects.Components.Interactable
public override string Name => "TilePrying";
private bool _toolComponentNeeded = true;
public void AfterAttack(AfterAttackEventArgs eventArgs)
public void AfterInteract(AfterInteractEventArgs eventArgs)
{
TryPryTile(eventArgs.User, eventArgs.ClickLocation);
}