Skip to content

Commit

Permalink
fix: vanilla_exfils_requirements is now forbidden by config analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
Trap committed Dec 11, 2024
1 parent c3139f8 commit b167e63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions src/config-analysis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,11 @@ export const analyzeConfig = (config: Config, spawnConfig: SpawnConfig): ConfigV
// 8. check for additional spawnpoints
errors.push(...getErrorsForAdditionalSpawnpoints(config));

// 9. check for usage of "vanilla_exfils_requirements"
if (config.vanilla_exfils_requirements) {
errors.push('"vanilla_exfils_requirements" is no longer supported since version 6');
}

return {
errors,
warnings,
Expand Down
5 changes: 0 additions & 5 deletions src/path-to-tarkov-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,11 +568,6 @@ export class PathToTarkovController {
return;
}

// TODO: move this into config-analysis
if (config.vanilla_exfils_requirements) {
this.logger.warning('Path To Tarkov: "vanilla_exfils_requirements" is no longer supported');
}

// TODO(refactor): implement an indexBy util
const indexedExits = locationBase.exits.reduce<Record<string, IExit | undefined>>(
(indexed, exit) => {
Expand Down

0 comments on commit b167e63

Please sign in to comment.