From e386a924f39b892474571218024e332fd9c2e803 Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 7 Jan 2022 09:17:41 +0000 Subject: [PATCH] Dont add lastnames to raiders --- Generator/BaseBotGenerator.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Generator/BaseBotGenerator.cs b/Generator/BaseBotGenerator.cs index d3588c9..cabf7a4 100644 --- a/Generator/BaseBotGenerator.cs +++ b/Generator/BaseBotGenerator.cs @@ -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]); } + + } } } }