Moved call to clearStoredBots()
to start raid function
This commit is contained in:
parent
264a8a06bd
commit
8392bc97cf
@ -210,9 +210,6 @@ export class BotController
|
||||
sessionId: string,
|
||||
): Promise<IBotBase[]>
|
||||
{
|
||||
// Clear bot cache before any work starts
|
||||
this.botGenerationCacheService.clearStoredBots();
|
||||
|
||||
const raidSettings = this.applicationContext
|
||||
.getLatestValue(ContextVariableType.RAID_CONFIGURATION)
|
||||
?.getValue<IGetRaidConfigurationRequestData>();
|
||||
|
@ -384,6 +384,9 @@ export class MatchController
|
||||
locationLoot: this.locationController.generate(request.location),
|
||||
};
|
||||
|
||||
// Clear bot cache ready for a fresh raid
|
||||
this.botGenerationCacheService.clearStoredBots();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user