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