mirror of
https://github.com/osmarks/website
synced 2025-09-02 10:48:03 +00:00
Patch achievement system
This commit is contained in:
@@ -619,6 +619,9 @@ description: A game about... apioforms... by Heavpoot.
|
||||
}
|
||||
console.log(kills)
|
||||
if (localStorage.tutorial=="true"&&kills>30){
|
||||
if ("points" in window) {
|
||||
points.then(points => points.unlockAchievement("apioformGame"))
|
||||
}
|
||||
localStorage.tutorial=false
|
||||
kills=0
|
||||
}
|
||||
|
Reference in New Issue
Block a user