This commit is contained in:
wrexbe
2022-02-01 19:35:40 -08:00
committed by GitHub
parent fa8a7e609a
commit 17db0775c8
436 changed files with 20 additions and 828 deletions

View File

@@ -10,8 +10,6 @@ namespace Content.Shared.Strip.Components
[RegisterComponent]
public class SharedStrippingComponent : Component, IDragDropOn
{
public override string Name => "Stripping";
bool IDragDropOn.CanDragDropOn(DragDropEvent eventArgs)
{
if (!IoCManager.Resolve<IEntityManager>().TryGetComponent(eventArgs.Dragged, out SharedStrippableComponent? strippable)) return false;