From 62effc4af1e99c513124ed11b8b886cd4dd72b90 Mon Sep 17 00:00:00 2001 From: Archi Date: Mon, 15 Nov 2021 19:53:46 +0100 Subject: [PATCH] STD: Postpone registering updated app change numbers This is important as we don't want to miss a depot, by moving it below we ensure that all depot tasks succeeded before we mark appIDs as "finished with" --- .../SteamTokenDumperPlugin.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperPlugin.cs b/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperPlugin.cs index 3c9c46aa6..ae1a6a386 100644 --- a/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperPlugin.cs +++ b/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperPlugin.cs @@ -423,8 +423,6 @@ internal sealed class SteamTokenDumperPlugin : OfficialPlugin, IASF, IBot, IBotS } } - GlobalCache.UpdateAppChangeNumbers(appChangeNumbers); - if (depotTasks.Count > 0) { bot.ArchiLogger.LogGenericInfo(string.Format(CultureInfo.CurrentCulture, Strings.BotRetrievingDepotKeys, depotTasks.Count)); @@ -442,6 +440,8 @@ internal sealed class SteamTokenDumperPlugin : OfficialPlugin, IASF, IBot, IBotS GlobalCache.UpdateDepotKeys(results); } + + GlobalCache.UpdateAppChangeNumbers(appChangeNumbers); } }