diff --git a/Generator/BaseBotGenerator.cs b/Generator/BaseBotGenerator.cs index 5be1650..2666afe 100644 --- a/Generator/BaseBotGenerator.cs +++ b/Generator/BaseBotGenerator.cs @@ -63,7 +63,7 @@ namespace Generator if (rawBotsOfSameType.Count == 0) { LoggingHelpers.LogToConsole($"no bots of type {botToUpdate.botType}", ConsoleColor.DarkRed); - break; + continue; } LoggingHelpers.LogToConsole($"Found {rawBotsOfSameType.Count} bots of type: {botToUpdate.botType}"); diff --git a/Generator/BotGearGenerator.cs b/Generator/BotGearGenerator.cs index eb83ab0..a0212de 100644 --- a/Generator/BotGearGenerator.cs +++ b/Generator/BotGearGenerator.cs @@ -33,7 +33,7 @@ namespace Generator if (rawParsedBotOfCurrentType.Count == 0) { - break; + continue; } GearChanceHelpers.CalculateEquipmentChances(botToUpdate, rawParsedBotOfCurrentType); diff --git a/Generator/BotLootGenerator.cs b/Generator/BotLootGenerator.cs index b6f54b4..a27cd14 100644 --- a/Generator/BotLootGenerator.cs +++ b/Generator/BotLootGenerator.cs @@ -33,7 +33,7 @@ namespace Generator if (rawBotsOfSameType.Count == 0) { - break; + continue; } foreach (var rawParsedBot in rawBotsOfSameType)