Fix PMCs not spawning

This commit is contained in:
Dev 2024-01-20 22:50:12 +00:00
parent 910b5e946c
commit 693dc4bbb5

View File

@ -275,7 +275,7 @@ export class BotController
}
// Construct cache key
const cacheKey = `${requestedBot.Role}${requestedBot.Difficulty}`;
const cacheKey = `${botGenerationDetails.role}${botGenerationDetails.botDifficulty}`;
// Check cache for bot using above key
if (!this.botGenerationCacheService.cacheHasBotOfRole(cacheKey))