aboutsummaryrefslogtreecommitdiff
path: root/src/paperflight/index.html
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-05-14 11:27:58 -0500
committerMark Powers <markppowers0@gmail.com>2020-05-14 11:27:58 -0500
commit67d08e1f07d6eb261b98e90e6c803d64c22c1969 (patch)
treead1b3b0f67cecb9dadb9a95b50f8fa7d74ec9b12 /src/paperflight/index.html
parent0ec9047997e3ecaf7c4973baaa2e7b6b52e8144c (diff)
Add text item, create tutorial stages
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 {