Fix only one type of bot spawning

This commit is contained in:
Dev 2024-01-10 21:08:00 +00:00
parent f66b2d04a9
commit 219086d9bb

View File

@ -201,7 +201,7 @@ export class BotController
}
}
cacheKey = `${botRole}${details.botDifficulty}`;
cacheKey = `${details.role}${details.botDifficulty}`;
// Check for bot in cache, add if not
if (!this.botGenerationCacheService.cacheHasBotOfRole(cacheKey))