Clear bot cache of data prior to generating bots for first time

This commit is contained in:
Dev 2024-02-16 14:40:14 +00:00
parent 21caeed3db
commit 8be821cec0

View File

@ -172,6 +172,9 @@ export class BotController
sessionId: string,
): IBotBase[]
{
// Clear bot cache before any work starts
this.botGenerationCacheService.clearStoredBots();
const allPmcsHaveSameNameAsPlayer = this.randomUtil.getChance100(
this.pmcConfig.allPMCsHavePlayerNameWithRandomPrefixChance,
);