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:
parent
1a2cc6113b
commit
4317c3c273
@ -194,7 +194,7 @@ export class BotGenerator {
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Only run when generating a 'fake' playerscav, not actual player scav
|
// 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.botNameService.addRandomPmcNameToBotMainProfileNicknameProperty(bot);
|
||||||
this.setRandomisedGameVersionAndCategory(bot.Info);
|
this.setRandomisedGameVersionAndCategory(bot.Info);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user