Content update for NetEntities (#18935)
This commit is contained in:
@@ -133,8 +133,16 @@ namespace Content.Client.ContextMenu.UI
|
||||
var func = args.Function;
|
||||
var funcId = _inputManager.NetworkBindMap.KeyFunctionID(func);
|
||||
|
||||
var message = new FullInputCmdMessage(_gameTiming.CurTick, _gameTiming.TickFraction, funcId,
|
||||
BoundKeyState.Down, _entityManager.GetComponent<TransformComponent>(entity.Value).Coordinates, args.PointerLocation, entity.Value);
|
||||
var message = new ClientFullInputCmdMessage(
|
||||
_gameTiming.CurTick,
|
||||
_gameTiming.TickFraction,
|
||||
funcId)
|
||||
{
|
||||
State = BoundKeyState.Down,
|
||||
Coordinates = _entityManager.GetComponent<TransformComponent>(entity.Value).Coordinates,
|
||||
ScreenCoordinates = args.PointerLocation,
|
||||
Uid = entity.Value,
|
||||
};
|
||||
|
||||
var session = _playerManager.LocalPlayer?.Session;
|
||||
if (session != null)
|
||||
|
||||
Reference in New Issue
Block a user