From fc8a6ba80094cf795f6a560465b5e245d410d3cf Mon Sep 17 00:00:00 2001 From: gocivici Date: Fri, 6 Oct 2023 17:06:49 +0300 Subject: [PATCH] fixed skipping bug --- index.html | 4 ++-- main.js | 2 +- movieList.js | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index a424467..ae85fab 100644 --- a/index.html +++ b/index.html @@ -287,8 +287,8 @@ - - + + diff --git a/main.js b/main.js index 88f675b..73c9ec5 100644 --- a/main.js +++ b/main.js @@ -421,7 +421,7 @@ function setResult(){ localStorage.setItem('day_'+dayCount,'false'); localStorage.setItem("lost_", "yes"); localStorage.setItem("playedToday_", "yes"); - dates[dayCount-1].classList.add('lost'); + dates[dayCount].classList.add('lost'); submitBonus(1); } diff --git a/movieList.js b/movieList.js index c534c3c..a115056 100644 --- a/movieList.js +++ b/movieList.js @@ -153,7 +153,6 @@ var movies = [ ["Son of Frankenstein"], ["Theatre of Blood"], ["At Midnight I'll Take Your Soul"], - ["Prince of Darkness"], ["Berserk: The Golden Age Arc 3 - The Advent"], ["Maniac"], ["The Mad Doctor"], @@ -280,7 +279,6 @@ var movies = [ ["Tales of Terror"], ["Dr"], ["Shock"], - ["The Descent"], ["Pontypool"], ["The Tingler"], ["The Plague of the Zombies"], @@ -469,7 +467,6 @@ var movies = [ ["The Hills Have Eyes"], ["Demon"], ["The Rambler"], - ["The Ritual"], ["Rubber Johnny"], ["Intruder"], ["Black Death"],