summaryrefslogtreecommitdiff
path: root/2d
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-02-15 15:21:36 -0500
committerDavid Thompson <dthompson2@worcester.edu>2014-02-15 15:21:36 -0500
commit9353774be73dc48363a28c94ba5d21594af15d6e (patch)
treeaf42ee56aa22e3c1fb3a95b6d55ed01e8e91cf1b /2d
parent299ef46b8c6f373038c55771d24950a80c0e58ea (diff)
Fix schedule-interval.
* 2d/agenda.scm (schedule-interval): Actually use the 'delay' parameter.
Diffstat (limited to '2d')
-rw-r--r--2d/agenda.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/2d/agenda.scm b/2d/agenda.scm
index 662aea4..2b28a54 100644
--- a/2d/agenda.scm
+++ b/2d/agenda.scm
@@ -162,7 +162,8 @@ now. DELAY defaults to 1 if not specified."
(schedule agenda
(lambda ()
(thunk)
- (schedule-interval agenda thunk delay))))
+ (schedule-interval agenda thunk delay))
+ delay))
(define (schedule-each agenda thunk)
"Schedule THUNK within AGENDA to be applied every tick."