mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
This little change should achievement bugs
Levels are bugges for a lot time recently and for some reason noone made pr to fix this so yeah... Anyways this bug causes player to get level achievements before getting to that level. So removing "=" from there "should" fix these bugs.
This commit is contained in:
parent
5074727efa
commit
f8f54d0c37
@ -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