Remove context menu from drag shadows (#2262)

This commit is contained in:
DrSmugleaf
2020-10-14 22:48:45 +02:00
committed by GitHub
parent 8548e939e2
commit 1098035fd9
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using Content.Shared.GameObjects.Verbs;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
namespace Content.Shared.GameObjects.Components.Drag
{
[RegisterComponent]
public class DragShadowComponent : Component, IShowContextMenu
{
public override string Name => "DragShadow";
public bool ShowContextMenu(IEntity examiner)
{
return false;
}
}
}

View File

@@ -6,3 +6,4 @@
- type: Sprite
layers:
- shader: unshaded
- type: DragShadow