Skip to content

Commit

Permalink
Misc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Feb 5, 2016
1 parent 18800ff commit f86bc32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ArchiSteamFarm/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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));
}
Expand Down

0 comments on commit f86bc32

Please sign in to comment.