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:
parent
588e5ecb44
commit
35a2d74e8f
@ -191,6 +191,7 @@ export class BotGenerator {
|
|||||||
botRoleLowercase,
|
botRoleLowercase,
|
||||||
this.botConfig.botRolesThatMustHaveUniqueName,
|
this.botConfig.botRolesThatMustHaveUniqueName,
|
||||||
);
|
);
|
||||||
|
bot.Info.LowerNickname = bot.Info.Nickname.toLowerCase();
|
||||||
|
|
||||||
// Only run when generating a 'fake' playerscav, not actual player scav
|
// Only run when generating a 'fake' playerscav, not actual player scav
|
||||||
if (!botGenerationDetails.isPlayerScav && this.shouldSimulatePlayerScav(botRoleLowercase)) {
|
if (!botGenerationDetails.isPlayerScav && this.shouldSimulatePlayerScav(botRoleLowercase)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user