summaryrefslogtreecommitdiff
path: root/2d/sprite.scm
diff options
context:
space:
mode:
Diffstat (limited to '2d/sprite.scm')
-rw-r--r--2d/sprite.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/2d/sprite.scm b/2d/sprite.scm
index a0f13bf..2d6cca0 100644
--- a/2d/sprite.scm
+++ b/2d/sprite.scm
@@ -31,6 +31,7 @@
#:use-module (2d agenda)
#:use-module (2d animation)
#:use-module (2d color)
+ #:use-module (2d game)
#:use-module (2d helpers)
#:use-module (2d math)
#:use-module (2d signals)
@@ -302,7 +303,7 @@ currently bound."
(hash-clear! animated-sprites))
;; Update animated sprites upon every update.
-(schedule-every update-animated-sprites!)
+(schedule-each game-agenda update-animated-sprites!)
(export make-sprite
sprite?