aboutsummaryrefslogtreecommitdiff
path: root/src/Update/UpdateTimer.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-19 20:18:35 +0100
committerJoris Guyonvarch2015-03-19 20:18:39 +0100
commit27917f041ddb438c4fa8576487816220c3824eae (patch)
tree628bcc0d6bf80a3375382f214d28cfbf49fdf2b0 /src/Update/UpdateTimer.elm
parentaf9465f928f28344aa59a407adb21e5ac047a0f9 (diff)
Fixing updates giving wrong states
Diffstat (limited to 'src/Update/UpdateTimer.elm')
-rw-r--r--src/Update/UpdateTimer.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Update/UpdateTimer.elm b/src/Update/UpdateTimer.elm
index c147d23..7033f81 100644
--- a/src/Update/UpdateTimer.elm
+++ b/src/Update/UpdateTimer.elm
@@ -41,6 +41,6 @@ updateTimer action timer =
SetTime time ->
let augmentedTime = time + 999
in { timer
- | initialTime <- augmentedTime
+ | initialTime <- time
, currentTime <- augmentedTime
}