mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
Fix unavailable achievements condition
This commit is contained in:
parent
d8a5f5b03c
commit
b768a68467
@ -29,7 +29,7 @@ export function AchievementList({ achievements, playerAchievements }: IProps): J
|
|||||||
const secret = data.filter(entry => !entry.unlockedOn && entry.achievement.Secret)
|
const secret = data.filter(entry => !entry.unlockedOn && entry.achievement.Secret)
|
||||||
|
|
||||||
// Locked behind locked content (bitnode x)
|
// 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
|
// Remaining achievements
|
||||||
const locked = data
|
const locked = data
|
||||||
|
Loading…
Reference in New Issue
Block a user