Skip to content

Commit

Permalink
fix enemy types filter
Browse files Browse the repository at this point in the history
  • Loading branch information
svehera committed Nov 19, 2024
1 parent 596267b commit 1ad852d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v2/features/goals/upgrades.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ export class UpgradesService {
}

if (enemiesTypes?.length) {
if (location.enemiesTypes.some(enemyType => enemiesTypes.includes(enemyType))) {
if (!location.enemiesTypes.some(enemyType => enemiesTypes.includes(enemyType))) {
return false;
}
}
Expand Down

0 comments on commit 1ad852d

Please sign in to comment.