Skip to content

Commit

Permalink
Fixed steam loading
Browse files Browse the repository at this point in the history
  • Loading branch information
osztenkurden committed Jan 30, 2021
1 parent 50fdff3 commit 76abe39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/avatars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const loadAvatarURL = (steamid: string) => {
url: '',
loader: new Promise((resolve) => {
api.players.getAvatarURLs(steamid).then(result => {
avatars[steamid].url = result.custom || result.custom;
avatars[steamid].url = result.custom || result.steam;
resolve(result.custom || result.custom);
}).catch(() => {
delete avatars[steamid];
Expand Down

0 comments on commit 76abe39

Please sign in to comment.