Fix storage interaction (#8290)

This commit is contained in:
Leon Friedrich
2022-05-20 15:56:43 +12:00
committed by GitHub
parent fbf37662b4
commit 8e0df3298a
4 changed files with 37 additions and 25 deletions

View File

@@ -31,7 +31,7 @@ public sealed partial class ToolSystem
private void OnTilePryingAfterInteract(EntityUid uid, TilePryingComponent component, AfterInteractEvent args)
{
if (args.Handled || !args.CanReach) return;
if (args.Handled || !args.CanReach || args.Target != null) return;
if (TryPryTile(args.User, component, args.ClickLocation))
args.Handled = true;