mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
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>
This commit is contained in:
parent
5074727efa
commit
aa553e63eb
@ -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…
Reference in New Issue
Block a user