0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 16:10:43 -05:00

Fixed incorrect logic when deciding who should be flagged as a player scav inside shouldSimulatePlayerScav

This commit is contained in:
Chomp 2024-12-24 14:14:06 +00:00
parent 1a2cc6113b
commit 4317c3c273

View File

@ -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);
}