From 1f5b5bea5fcc0ebebce930eaeab5a04758df78a7 Mon Sep 17 00:00:00 2001 From: Dimma Date: Mon, 4 May 2020 17:37:15 +0300 Subject: [PATCH] Update README.md Wrong properties in "Get Avatars" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0233567..30095df 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ foreach ( var friend in SteamFriends.GetFriends() ) var image = await SteamFriends.GetLargeAvatarAsync( steamid ); if ( !image.HasValue ) return DefaultImage; - return MakeTextureFromRGBA( image.Data, image.Width, image.Height ); + return MakeTextureFromRGBA( image.Value.Data, image.Value.Width, image.Value.Height ); ``` ### Get a list of servers