Make sure dragdrop doesn't delay by a frame (#9745)

This commit is contained in:
metalgearsloth
2022-07-15 12:43:39 +10:00
committed by GitHub
parent eea32fde5b
commit 786c8a7c79

View File

@@ -80,6 +80,7 @@ namespace Content.Client.DragDrop
public override void Initialize()
{
UpdatesOutsidePrediction = true;
UpdatesAfter.Add(typeof(EyeUpdateSystem));
_dragDropHelper = new DragDropHelper<EntityUid>(OnBeginDrag, OnContinueDrag, OnEndDrag);
_cfgMan.OnValueChanged(CCVars.DragDropDeadZone, SetDeadZone, true);