forked from chomp/BotGenerator
Dont add lastnames to raiders
This commit is contained in:
parent
c92b2ff0e6
commit
e386a924f3
@ -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]);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user