From b768a6846751a473433bb54e5b279ffdf5a13b7b Mon Sep 17 00:00:00 2001 From: Martin Fournier Date: Sun, 9 Jan 2022 17:51:46 -0500 Subject: [PATCH] Fix unavailable achievements condition --- src/Achievements/AchievementList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Achievements/AchievementList.tsx b/src/Achievements/AchievementList.tsx index b590cf38c..c0d001434 100644 --- a/src/Achievements/AchievementList.tsx +++ b/src/Achievements/AchievementList.tsx @@ -29,7 +29,7 @@ export function AchievementList({ achievements, playerAchievements }: IProps): J const secret = data.filter(entry => !entry.unlockedOn && entry.achievement.Secret) // Locked behind locked content (bitnode x) - const unavailable = data.filter(entry => !entry.unlockedOn && !entry.achievement.Secret && entry.achievement.Visible && entry.achievement.Visible()); + const unavailable = data.filter(entry => !entry.unlockedOn && !entry.achievement.Secret && entry.achievement.Visible && !entry.achievement.Visible()); // Remaining achievements const locked = data