aboutsummaryrefslogtreecommitdiff
path: root/src/Update/Update.elm
diff options
context:
space:
mode:
authorJoris2015-11-15 20:17:25 +0100
committerJoris2015-11-15 20:17:25 +0100
commit79a9db1c532995c7c760bfb518b43d92dd703280 (patch)
tree3a9fce622db301b8ebcc9f4f2c50ad89e4e7c182 /src/Update/Update.elm
parent4710e5ac30c44ca8b48a0b2b60ea74b1573b084b (diff)
downloadcatchvoid-79a9db1c532995c7c760bfb518b43d92dd703280.tar.gz
catchvoid-79a9db1c532995c7c760bfb518b43d92dd703280.tar.bz2
catchvoid-79a9db1c532995c7c760bfb518b43d92dd703280.zip
Change points move type and speed at each level
Diffstat (limited to 'src/Update/Update.elm')
-rw-r--r--src/Update/Update.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Update/Update.elm b/src/Update/Update.elm
index 97cf6e3..e173aaa 100644
--- a/src/Update/Update.elm
+++ b/src/Update/Update.elm
@@ -36,7 +36,7 @@ update input game =
}
else
let newPlayer = playerStep input.delta game.boardSize input.dir (newKeyCode game.keysDown input.inputKeysDown) game.player
- (newCloud, addScore, newSeed) = cloudUpdate game.time game.boardSize game.seed newPlayer game.cloud
+ (newCloud, addScore, newSeed) = cloudUpdate game.time game.boardSize game.seed newPlayer game.cloud game.currentScore
in
{ game
| time <- game.time + input.delta