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",
"sectactPriestEvent": "sectantPriest",
"ravangeZryachiyEvent": "bossZryachiy",
"arenaFighterEvent": "arenaFighterEvent"
"arenaFighterEvent": "arenaFighterEvent",
"crazyAssaultEvent": "crazyAssaultEvent"
},
"eventBossSpawns": {
"halloween": {

View File

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