diff --git a/project/src/controllers/BotController.ts b/project/src/controllers/BotController.ts index 5252856e..4c3dc14f 100644 --- a/project/src/controllers/BotController.ts +++ b/project/src/controllers/BotController.ts @@ -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, );