summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/scripting.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/chickadee/scripting.scm b/chickadee/scripting.scm
index f8c859d..1820348 100644
--- a/chickadee/scripting.scm
+++ b/chickadee/scripting.scm
@@ -16,6 +16,7 @@
;;; <http://www.gnu.org/licenses/>.
(define-module (chickadee scripting)
+ #:use-module (chickadee game-loop)
#:use-module (chickadee math)
#:use-module (chickadee math easings)
#:use-module (chickadee scripting agenda)
@@ -72,7 +73,7 @@
cont)))))))
(define* (tween duration start end proc #:key
- (step 1)
+ (step (current-timestep))
(ease smoothstep)
(interpolate lerp))
"Transition a value from START to END over DURATION, sending each