Skip to content

Commit

Permalink
Merge pull request #248 from svehera/develop
Browse files Browse the repository at this point in the history
fix enemy types filter
  • Loading branch information
svehera authored Nov 19, 2024
2 parents 22ba4ea + 1ad852d commit b625105
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 b625105

Please sign in to comment.