improvin player pointers

This commit is contained in:
Michele 2021-02-10 23:27:20 +00:00
parent bce97de302
commit efc9e13737
3 changed files with 76 additions and 189 deletions

View file

@ -239,11 +239,11 @@ namespace Sledgemapper
}
internal async Task Ping(Tile hoveredTile)
internal async Task Ping(Tile location)
{
if (Connection!=null && Connection.State == HubConnectionState.Connected)
{
await Connection.InvokeAsync("Ping",SessionData.SessionName, hoveredTile);
await Connection.InvokeAsync("Ping",SessionData.SessionName, location);
}
}
}