Fix tabletop error (#7830)

This commit is contained in:
Leon Friedrich
2022-04-28 19:57:51 +12:00
committed by GitHub
parent 0a51fbff1e
commit c2b4a4acef
9 changed files with 54 additions and 121 deletions

View File

@@ -0,0 +1,16 @@
using Robust.Shared.GameStates;
using Robust.Shared.Network;
namespace Content.Shared.Tabletop.Components;
/// <summary>
/// Allows an entity to be dragged around by the mouse. The position is updated for all player while dragging.
/// </summary>
[NetworkedComponent]
[RegisterComponent]
public sealed class TabletopDraggableComponent : Component
{
// The player dragging the piece
[ViewVariables]
public NetUserId? DraggingPlayer;
}