summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-10-18 14:01:15 -0400
committerDavid Thompson <dthompson2@worcester.edu>2021-10-18 14:01:15 -0400
commitef271a096602637755544beb9db94cf20a8a9966 (patch)
tree113adb33891ae6341a0c8066a16f6bfd982e3b06
parentd0250dcd5ebe6de0bb7236b2805869ccd4d45537 (diff)
node: Advance agenda by timestep.
-rw-r--r--starling/node.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/starling/node.scm b/starling/node.scm
index cbb1027..0872c19 100644
--- a/starling/node.scm
+++ b/starling/node.scm
@@ -220,7 +220,7 @@
(for-each-child (lambda (child) (update-tree child dt)) node)
;; Scripts take precedence over the update method.
(with-agenda (agenda node)
- (update-agenda 1)
+ (update-agenda dt)
(update node dt))))
(define-method (render (node <node>) alpha)