mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
Update bots.h
implement GetRandomBotNameGeneric function into bot summoning
This commit is contained in:
@@ -294,7 +294,14 @@ public:
|
||||
Controller->Possess(Pawn);
|
||||
}
|
||||
|
||||
auto BotNewName = GetRandomName();
|
||||
FString BotNewName = L"";
|
||||
if (Globals::bUseGenericRandomBotNames) {
|
||||
BotNewName = GetRandomBotNameGeneric();
|
||||
}
|
||||
else {
|
||||
BotNewName = GetRandomName();
|
||||
}
|
||||
|
||||
LOG_INFO(LogBots, "BotNewName: {}", BotNewName.ToString());
|
||||
SetName(BotNewName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user