Skip to content

Commit

Permalink
fix trader scan start
Browse files Browse the repository at this point in the history
  • Loading branch information
Razzmatazzz committed Dec 28, 2024
1 parent 7771286 commit 603caf3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tarkov-data-manager/jobs/start-trader-scan.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ class StartTraderScanJob extends DataJob {
if (scanner.settings.scanStatus !== 'idle' || scanner.settings.scanMode !== 'auto') {
continue;
}
if (scanner.settings.sessionMode !== gameMode.name) {
return;
}
this.logger.log(`Starting ${scanner.name}`);
await scannerApi.setTraderScanScanner(gameMode.name, scanner.name);
//await webSocketServer.sendCommand(scanner.name, 'changeSetting', {name: 'offersFrom', value: 1});
Expand Down

0 comments on commit 603caf3

Please sign in to comment.