public void Surrended(ClientTCP client) { CloseUpdateTimer(); Status = RoomState.MatchEnded; foreach (ClientTCP player in playersTCP) { player.playerState = NetPlayerState.EndPlaying; } _closeTimer = new Timer(EndGameSession, null, 300000, Timeout.Infinite); SendDataTCP.SendMatchEnded(client.nickname, this); }