diff --git a/ArchiSteamFarm/Program.cs b/ArchiSteamFarm/Program.cs index f7caf36b188d0..06c89f3822761 100644 --- a/ArchiSteamFarm/Program.cs +++ b/ArchiSteamFarm/Program.cs @@ -454,7 +454,7 @@ private static void Main(string[] args) { } Bot bot = new Bot(botName); - if (!bot.BotConfig.Enabled) { + if (bot.BotConfig == null || !bot.BotConfig.Enabled) { Logging.LogGenericInfo("Not starting this instance because it's disabled in config file", botName); } }