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.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/paperflight/index.html b/src/paperflight/index.html
index 62763be..8628f49 100644
--- a/src/paperflight/index.html
+++ b/src/paperflight/index.html
@@ -73,6 +73,7 @@
plane.y = 100
plane.dir= 1
currLevelIndex = to
+ collected = 0
if (to in levels) {
currLevel = levels[currLevelIndex]
currLevel.items = currLevel.items.slice()
@@ -81,7 +82,6 @@
item.collected = false
}
})
- collected = 0
switchState = 0
startLevel = false
} else {