diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index efd30d14022b4..02b0105783f9d 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -146,10 +146,6 @@ internal Bot(string botName, bool initialLaunch = false) { Bots.AddOrUpdate(BotName, this, (key, value) => this); - if (initialLaunch && !StartOnLaunch) { - return; - } - // Initialize SteamClient = new SteamClient(); @@ -198,6 +194,10 @@ internal Bot(string botName, bool initialLaunch = false) { ); } + if (initialLaunch && !StartOnLaunch) { + return; + } + // Start var start = Task.Run(async () => await Start().ConfigureAwait(false)); }