private void MoveToSelectedTile(MovementIntent intent) { ClientParty party = UIManager.PartyUI.SelectedParty; ClientTile selectedTile = UIManager.TileUI.SelectedTile; Log.Debug($"Moving {party} to {selectedTile}"); var map = selectedTile.Chunk.Map; var path = map.FindPath(party.Tile, selectedTile); var tilePath = path.Select(node => (ClientTile)map.GetTile(node.X, node.Y)).ToList(); ClientEvents.StartMovementRequest(party, tilePath); MainBehaviour.Networking.Send(new MoveRequestEvent() { PartyIndex = party.PartyIndex, Path = path.Select(p => new Game.World.Position(p.X, p.Y)).ToList(), Intent = intent }); }