Make sure dragdrop doesn't delay by a frame (#9745)
This commit is contained in:
@@ -80,6 +80,7 @@ namespace Content.Client.DragDrop
|
|||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
{
|
{
|
||||||
UpdatesOutsidePrediction = true;
|
UpdatesOutsidePrediction = true;
|
||||||
|
UpdatesAfter.Add(typeof(EyeUpdateSystem));
|
||||||
|
|
||||||
_dragDropHelper = new DragDropHelper<EntityUid>(OnBeginDrag, OnContinueDrag, OnEndDrag);
|
_dragDropHelper = new DragDropHelper<EntityUid>(OnBeginDrag, OnContinueDrag, OnEndDrag);
|
||||||
_cfgMan.OnValueChanged(CCVars.DragDropDeadZone, SetDeadZone, true);
|
_cfgMan.OnValueChanged(CCVars.DragDropDeadZone, SetDeadZone, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user