Fixed when achievements are given on levels (#1233)

Co-authored-by: TcePrepK <TcePrepK@users.noreply.github.com>

Co-authored-by: TcePrepK <TcePrepK@users.noreply.github.com>
pull/1242/head
Thomas (DJ1TJOO) 3 years ago committed by GitHub
parent 5074727efa
commit aa553e63eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -427,7 +427,7 @@ export class AchievementCollection {
createLevelOptions(level) {
return {
init: ({ key }) => this.unlock(key, this.root.hubGoals.level),
isValid: currentLevel => currentLevel >= level,
isValid: currentLevel => currentLevel > level,
signal: "storyGoalCompleted",
};
}

Loading…
Cancel
Save