Fix PMCs not spawning
This commit is contained in:
parent
910b5e946c
commit
693dc4bbb5
@ -275,7 +275,7 @@ export class BotController
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Construct cache key
|
// Construct cache key
|
||||||
const cacheKey = `${requestedBot.Role}${requestedBot.Difficulty}`;
|
const cacheKey = `${botGenerationDetails.role}${botGenerationDetails.botDifficulty}`;
|
||||||
|
|
||||||
// Check cache for bot using above key
|
// Check cache for bot using above key
|
||||||
if (!this.botGenerationCacheService.cacheHasBotOfRole(cacheKey))
|
if (!this.botGenerationCacheService.cacheHasBotOfRole(cacheKey))
|
||||||
|
Loading…
Reference in New Issue
Block a user