aboutsummaryrefslogtreecommitdiff
path: root/src/Update/Update.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-08 15:14:07 +0100
committerJoris Guyonvarch2015-03-08 15:14:07 +0100
commit87386e8b148c2536214fdaf6c3140853c751d7b4 (patch)
tree9af29dd893e414f610695f133b32ccf8a3cf79bf /src/Update/Update.elm
parent97e494a7c5a105bba6a48f5025e71a376fc8673d (diff)
Showing the score at the end of each round
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 7cf4dee..ab68d2e 100644
--- a/src/Update/Update.elm
+++ b/src/Update/Update.elm
@@ -31,7 +31,7 @@ update input game =
| time <- 0
, currentScore <- 0
, cloud <- initCloud
- , rounds <- (Round game.time game.currentScore) :: game.rounds
+ , rounds <- game.rounds `List.append` [Round game.time game.currentScore]
}
else
let newTime = game.time + input.delta