private async void GetLocalGameStep() { lanGameLobbyControl.info.Text = "Ожидание хода другого игрока..."; try { byte[] path = await lanGameSession.ReceiveStepAsync(); if (path[0] != 0) { MakeStep(path); } else { AnotherPlayerDisconnected(); } } catch (Exception ex) { Console.WriteLine(ex.Message); AnotherPlayerDisconnected(); } }