From 79a9db1c532995c7c760bfb518b43d92dd703280 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 15 Nov 2015 20:17:25 +0100 Subject: Change points move type and speed at each level --- src/Update/Update.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Update/Update.elm') 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 -- cgit v1.2.3