diff --git a/ArchiSteamFarm/Steam/Storage/BotDatabase.cs b/ArchiSteamFarm/Steam/Storage/BotDatabase.cs index 3f761b793..3b3bcec2e 100644 --- a/ArchiSteamFarm/Steam/Storage/BotDatabase.cs +++ b/ArchiSteamFarm/Steam/Storage/BotDatabase.cs @@ -94,8 +94,6 @@ internal sealed class BotDatabase : SerializableFile { [JsonProperty(PropertyName = $"_{nameof(MobileAuthenticator)}")] private MobileAuthenticator? BackingMobileAuthenticator; - private bool SaveNeededDueToMigration; - private BotDatabase(string filePath) { if (string.IsNullOrEmpty(filePath)) { throw new ArgumentNullException(nameof(filePath)); @@ -203,12 +201,6 @@ internal sealed class BotDatabase : SerializableFile { botDatabase.FilePath = filePath; - if (botDatabase.SaveNeededDueToMigration) { - botDatabase.SaveNeededDueToMigration = false; - - Utilities.InBackground(botDatabase.Save); - } - return botDatabase; }