mirror of
https://github.com/ssyyhhrr/stewardle.git
synced 2025-11-08 10:33:46 -05:00
Answer JSON Fix
This commit is contained in:
@@ -207,6 +207,7 @@ async function submit(guess, real) {
|
||||
else {
|
||||
localStorage.version = json.version
|
||||
}
|
||||
delete json.version
|
||||
let won = true
|
||||
Object.values(json).forEach(async (answer, index) => {
|
||||
if (answer !== 1) won = false
|
||||
|
||||
Reference in New Issue
Block a user