[feat]MeatyOre panel
This commit is contained in:
@@ -23,6 +23,8 @@ using Content.Shared.Tag;
|
||||
using Content.Shared.Timing;
|
||||
using Content.Shared.Verbs;
|
||||
using Content.Shared.Wall;
|
||||
using Content.Shared.Weapons.Ranged.Components;
|
||||
using Content.Shared.White.MeatyOre;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.Input;
|
||||
@@ -125,6 +127,11 @@ namespace Content.Shared.Interaction
|
||||
return;
|
||||
}
|
||||
|
||||
if (CompOrNull<IgnorBUIInteractionRangeComponent>(ev.Target) != null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!InRangeUnobstructed(user, ev.Target))
|
||||
{
|
||||
ev.Cancel();
|
||||
|
||||
Reference in New Issue
Block a user