From 0cecd2079c7ea781370e0d84a853e7578e7c90b4 Mon Sep 17 00:00:00 2001 From: LinlyBoi Date: Tue, 5 Dec 2023 09:20:10 +0200 Subject: [PATCH] really important --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0dadcf5..c40e4d9 100644 --- a/index.js +++ b/index.js @@ -169,7 +169,7 @@ function answerCheck(n) { { var user = JSON.parse(localStorage.getItem("studData")); user.score += 1; - localStorage.setItem("studData", JSON.stringify(studData)); + localStorage.setItem("studData", JSON.stringify(user)); } nextQ(); }