summaryrefslogtreecommitdiff
path: root/rannak/mangud/partorg/sonaragastik/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'rannak/mangud/partorg/sonaragastik/script.js')
-rw-r--r--rannak/mangud/partorg/sonaragastik/script.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/rannak/mangud/partorg/sonaragastik/script.js b/rannak/mangud/partorg/sonaragastik/script.js
index ab5ebe4..af16488 100644
--- a/rannak/mangud/partorg/sonaragastik/script.js
+++ b/rannak/mangud/partorg/sonaragastik/script.js
@@ -34,7 +34,7 @@ function message(msg, color){
// Main stuff
-const vastused = ["valuuta", "tuusik", "tsaika", "redis", "plaanimajadnus",
+const vastused = ["valuuta", "tuusik", "tsaika", "redis", "plaanimajandus",
"rubla", "letialuneKaup", "talongid", "maantee",
"piiritsoon", "defitsiit"]
let õiged = new Array();
@@ -65,12 +65,13 @@ function proovi(){
hetkeKlass = ruut.classList[0];
}
+ console.log(hetkeKlass);
document.querySelector(".V"+hetkeKlass).classList.add("done");
if (!õiged.includes(hetkeKlass)) {
õiged.push(hetkeKlass);
õigedCounter++;
- console.log("DicoDisco GoodGood")
+ console.log(õigedCounter);
}
if (õigedCounter >= 11)
moveOnEnable();