0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00

Set LowerNickname property on bot generation

This commit is contained in:
Chomp 2025-01-08 11:37:37 +00:00
parent 588e5ecb44
commit 35a2d74e8f

View File

@ -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)) {