If recently played is private, games returns 0
This commit is contained in:
@ -139,6 +139,8 @@ public class Tracker : IDisposable
|
||||
{
|
||||
Log.Debug($"Updating game times for player {player}");
|
||||
GetRecentlyPlayedGames recentlyPlayed = Steam.GetRecentlyPlayedGames(player.SteamId);
|
||||
if (recentlyPlayed.total_count < 1)
|
||||
return;
|
||||
foreach (SteamGame recentlyPlayedGame in recentlyPlayed.games)
|
||||
{
|
||||
string? iconUrlStr = recentlyPlayedGame.img_icon_url is not null
|
||||
|
Reference in New Issue
Block a user