Fix bot generation error when crazyAssaultEvent spawns

This commit is contained in:
Dev 2023-11-16 18:43:22 +00:00
parent 50f8a84f5c
commit ba443ca9a9
2 changed files with 3 additions and 2 deletions

View File

@ -235,7 +235,8 @@
"peacefullZryachiyEvent": "bossZryachiy", "peacefullZryachiyEvent": "bossZryachiy",
"sectactPriestEvent": "sectantPriest", "sectactPriestEvent": "sectantPriest",
"ravangeZryachiyEvent": "bossZryachiy", "ravangeZryachiyEvent": "bossZryachiy",
"arenaFighterEvent": "arenaFighterEvent" "arenaFighterEvent": "arenaFighterEvent",
"crazyAssaultEvent": "crazyAssaultEvent"
}, },
"eventBossSpawns": { "eventBossSpawns": {
"halloween": { "halloween": {

View File

@ -123,7 +123,7 @@ export class BotGenerator
this.logger.debug( this.logger.debug(
`Generated ${botGenerationDetails.botCountToGenerate} ${ `Generated ${botGenerationDetails.botCountToGenerate} ${
output[0].Info.Settings.Role output[0].Info.Settings.Role
} (${botGenerationDetails.eventRole}) bots`, } (${botGenerationDetails.eventRole ?? ""}) bots`,
); );
return output; return output;