Clear bot cache of data prior to generating bots for first time
This commit is contained in:
parent
21caeed3db
commit
8be821cec0
@ -172,6 +172,9 @@ export class BotController
|
|||||||
sessionId: string,
|
sessionId: string,
|
||||||
): IBotBase[]
|
): IBotBase[]
|
||||||
{
|
{
|
||||||
|
// Clear bot cache before any work starts
|
||||||
|
this.botGenerationCacheService.clearStoredBots();
|
||||||
|
|
||||||
const allPmcsHaveSameNameAsPlayer = this.randomUtil.getChance100(
|
const allPmcsHaveSameNameAsPlayer = this.randomUtil.getChance100(
|
||||||
this.pmcConfig.allPMCsHavePlayerNameWithRandomPrefixChance,
|
this.pmcConfig.allPMCsHavePlayerNameWithRandomPrefixChance,
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user