File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
ArchiSteamFarm/Steam/Integration Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1655,6 +1655,8 @@ internal async Task<bool> ChangePrivacySettings(UserPrivacy userPrivacy) {
16551655 { "max_results" , 50000 }
16561656 } ;
16571657
1658+ uint previousLastAppID = 0 ;
1659+
16581660 HashSet < uint > ? result = null ;
16591661
16601662 using WebAPI . AsyncInterface steamAppsService = Bot . SteamConfiguration . GetAsyncWebAPIInterface ( SteamStoreService ) ;
@@ -1715,11 +1717,11 @@ internal async Task<bool> ChangePrivacySettings(UserPrivacy userPrivacy) {
17151717
17161718 uint lastAppID = response [ "last_appid" ] . AsUnsignedInteger ( ) ;
17171719
1718- if ( lastAppID == 0 ) {
1720+ if ( ( lastAppID == 0 ) || ( lastAppID <= previousLastAppID ) ) {
17191721 break ;
17201722 }
17211723
1722- arguments [ "last_appid" ] = lastAppID ;
1724+ arguments [ "last_appid" ] = previousLastAppID = lastAppID ;
17231725 }
17241726
17251727 return result ;
You can’t perform that action at this time.
0 commit comments