Improved empty check for difficulty values inside GetAllBotDifficulties

This commit is contained in:
Chomp
2025-09-12 11:06:09 +01:00
parent cf7873c44d
commit e26662ff13
@@ -136,7 +136,7 @@ public class BotController(
continue;
}
if (botDetails?.BotDifficulty is null)
if (botDetails?.BotDifficulty is null || !botDetails.BotDifficulty.Any())
{
// Bot has no difficulty values, skip
logger.Warning($"Unable to find bot: {botTypeLower} difficulty values in db, skipping");