gricha2380 / regex

https://gricha2380.github.io/regex/demo
0 stars 0 forks source link

Set conditional check on achievements #19

Closed gricha2380 closed 6 years ago

gricha2380 commented 6 years ago

Take these two lines: savedSessions[currentmode].sort((a,b)=> b.score - a.score); console.log("values after sort", savedSessions);

Move them inside (savedSessions[currentmode].length < 1)