Skip to content

Commit

Permalink
Set LowerNickname property on bot generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Chomp committed Jan 8, 2025
1 parent 588e5ec commit 35a2d74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions project/src/generators/BotGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ export class BotGenerator {
botRoleLowercase,
this.botConfig.botRolesThatMustHaveUniqueName,
);
bot.Info.LowerNickname = bot.Info.Nickname.toLowerCase();

// Only run when generating a 'fake' playerscav, not actual player scav
if (!botGenerationDetails.isPlayerScav && this.shouldSimulatePlayerScav(botRoleLowercase)) {
Expand Down

0 comments on commit 35a2d74

Please sign in to comment.