forked from chomp/BotGenerator
Fix issue where loops were being ended too soon
This commit is contained in:
parent
a591b6e21b
commit
d8e216d773
@ -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}");
|
||||
|
@ -33,7 +33,7 @@ namespace Generator
|
||||
|
||||
if (rawParsedBotOfCurrentType.Count == 0)
|
||||
{
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
|
||||
GearChanceHelpers.CalculateEquipmentChances(botToUpdate, rawParsedBotOfCurrentType);
|
||||
|
@ -33,7 +33,7 @@ namespace Generator
|
||||
|
||||
if (rawBotsOfSameType.Count == 0)
|
||||
{
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
|
||||
foreach (var rawParsedBot in rawBotsOfSameType)
|
||||
|
Loading…
x
Reference in New Issue
Block a user