Update README.md

Wrong properties in "Get Avatars"
This commit is contained in:
Dimma 2020-05-04 17:37:15 +03:00 committed by GitHub
parent 0beaeb2e9d
commit 1f5b5bea5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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