diff options
Diffstat (limited to 'src/paperflight/index.html')
-rw-r--r-- | src/paperflight/index.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/paperflight/index.html b/src/paperflight/index.html index 731b92e..9432244 100644 --- a/src/paperflight/index.html +++ b/src/paperflight/index.html @@ -22,7 +22,7 @@ <script> var username = undefined - var score, plane, gameInterval, currLevelIndex, currLevel, t, collected, startLevel + var score, plane, gameInterval, currLevelIndex, currLevel, t, collected, startLevel, switchState var DEFAULT_VX = 3 var DEFAULT_VY = 0.5 @@ -48,6 +48,7 @@ } score = 0 t = 0 + switchState = 0 plane = { x: 30, y: height / 4, |