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

@@ -25,7 +25,7 @@ namespace Content.Server.GameObjects.Components
public bool InteractUsing(InteractUsingEventArgs eventArgs)
{
if (!Owner.TryGetComponent(out PhysicsComponent physics)
|| !eventArgs.AttackWith.TryGetComponent(out ToolComponent tool))
|| !eventArgs.Using.TryGetComponent(out ToolComponent tool))
return false;
if (!tool.UseTool(eventArgs.User, Owner, ToolQuality.Anchoring))