From 4317c3c27394ce623456a37ea76904afe8c0fd30 Mon Sep 17 00:00:00 2001 From: Chomp Date: Tue, 24 Dec 2024 14:14:06 +0000 Subject: [PATCH] Fixed incorrect logic when deciding who should be flagged as a player scav inside `shouldSimulatePlayerScav` --- project/src/generators/BotGenerator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/generators/BotGenerator.ts b/project/src/generators/BotGenerator.ts index 30876683..79db5bec 100644 --- a/project/src/generators/BotGenerator.ts +++ b/project/src/generators/BotGenerator.ts @@ -194,7 +194,7 @@ export class BotGenerator { ); // Only run when generating a 'fake' playerscav, not actual player scav - if (!botGenerationDetails.isPlayerScav || this.shouldSimulatePlayerScav(botRoleLowercase)) { + if (!botGenerationDetails.isPlayerScav && this.shouldSimulatePlayerScav(botRoleLowercase)) { this.botNameService.addRandomPmcNameToBotMainProfileNicknameProperty(bot); this.setRandomisedGameVersionAndCategory(bot.Info); }