Fix only one type of bot spawning
This commit is contained in:
parent
f66b2d04a9
commit
219086d9bb
@ -201,7 +201,7 @@ export class BotController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cacheKey = `${botRole}${details.botDifficulty}`;
|
cacheKey = `${details.role}${details.botDifficulty}`;
|
||||||
|
|
||||||
// Check for bot in cache, add if not
|
// Check for bot in cache, add if not
|
||||||
if (!this.botGenerationCacheService.cacheHasBotOfRole(cacheKey))
|
if (!this.botGenerationCacheService.cacheHasBotOfRole(cacheKey))
|
||||||
|
Loading…
Reference in New Issue
Block a user