Set outside prediction flags on system/inputs to work without prediction.

This needs to be gone through more thoroughly but it works somewhat.
This commit is contained in:
Pieter-Jan Briers
2021-12-30 03:12:04 +01:00
parent 213d0f5e33
commit a0af197259
19 changed files with 53 additions and 6 deletions

View File

@@ -63,7 +63,7 @@ namespace Content.Client.ContextMenu.UI
_cfg.OnValueChanged(CCVars.EntityMenuGroupingType, OnGroupingChanged, true);
CommandBinds.Builder
.Bind(ContentKeyFunctions.OpenContextMenu, new PointerInputCmdHandler(HandleOpenEntityMenu))
.Bind(ContentKeyFunctions.OpenContextMenu, new PointerInputCmdHandler(HandleOpenEntityMenu, outsidePrediction: true))
.Register<EntityMenuPresenter>();
}