aboutsummaryrefslogtreecommitdiff
path: root/src/paperflight/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/paperflight/index.html')
-rw-r--r--src/paperflight/index.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/paperflight/index.html b/src/paperflight/index.html
index 26540b4..ef26a03 100644
--- a/src/paperflight/index.html
+++ b/src/paperflight/index.html
@@ -69,6 +69,11 @@
currLevelIndex = to
currLevel = levels[currLevelIndex]
currLevel.items = currLevel.items.slice()
+ currLevel.items.forEach(item => {
+ if("collected" in item){
+ item.collected = false
+ }
+ })
collected = 0
switchState = 0
startLevel = false