Fix tabletop error (#7830)
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
using Content.Shared.Tabletop.Components;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Network;
|
||||
using Robust.Shared.Players;
|
||||
using Robust.Shared.ViewVariables;
|
||||
using static Content.Shared.Tabletop.SharedTabletopSystem;
|
||||
|
||||
namespace Content.Server.Tabletop.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(SharedTabletopDraggableComponent))]
|
||||
public sealed class TabletopDraggableComponent : SharedTabletopDraggableComponent
|
||||
{
|
||||
private NetUserId? _draggingPlayer;
|
||||
|
||||
// The player dragging the piece
|
||||
[ViewVariables]
|
||||
public NetUserId? DraggingPlayer
|
||||
{
|
||||
get => _draggingPlayer;
|
||||
set
|
||||
{
|
||||
_draggingPlayer = value;
|
||||
Dirty();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user