Fix issue where loops were being ended too soon

This commit is contained in:
Chomp 2021-08-18 21:42:49 +01:00
parent a591b6e21b
commit d8e216d773
3 changed files with 3 additions and 3 deletions

View File

@ -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}");

View File

@ -33,7 +33,7 @@ namespace Generator
if (rawParsedBotOfCurrentType.Count == 0)
{
break;
continue;
}
GearChanceHelpers.CalculateEquipmentChances(botToUpdate, rawParsedBotOfCurrentType);

View File

@ -33,7 +33,7 @@ namespace Generator
if (rawBotsOfSameType.Count == 0)
{
break;
continue;
}
foreach (var rawParsedBot in rawBotsOfSameType)