Dont add lastnames to raiders

This commit is contained in:
Chomp 2022-01-07 09:17:41 +00:00
parent c92b2ff0e6
commit e386a924f3

View File

@ -184,9 +184,14 @@ namespace Generator
var name = rawBot.Info.Nickname.Split();
botToUpdate.firstName.AddUnique(name[0]);
if (name.Length > 1)
{
// Add lastnames to all bots except raiders
if (botToUpdate.botType != BotType.pmcBot)
{
botToUpdate.lastName.AddUnique(name[1]);
}
}
}
}
}