mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-26 14:45:51 +03:00
Update README.md
Wrong properties in "Get Avatars"
This commit is contained in:
parent
0beaeb2e9d
commit
1f5b5bea5f
@ -71,7 +71,7 @@ foreach ( var friend in SteamFriends.GetFriends() )
|
|||||||
var image = await SteamFriends.GetLargeAvatarAsync( steamid );
|
var image = await SteamFriends.GetLargeAvatarAsync( steamid );
|
||||||
if ( !image.HasValue ) return DefaultImage;
|
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
|
### Get a list of servers
|
||||||
|
Loading…
Reference in New Issue
Block a user