diff options
author | David Thompson <dthompson@vistahigherlearning.com> | 2021-01-30 16:02:17 -0500 |
---|---|---|
committer | David Thompson <dthompson@vistahigherlearning.com> | 2021-01-30 16:02:17 -0500 |
commit | 92e2d98717393d25738060b56e4c15a1c15e9345 (patch) | |
tree | 0545e672d8e770a0536301e722a8030f7000b013 | |
parent | 76d9fc49dc9b52f2bc4ac53fd05930680d234406 (diff) |
node-2d: Fix animated sprite setters.
-rw-r--r-- | starling/node-2d.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starling/node-2d.scm b/starling/node-2d.scm index ab882e6..af6e3bc 100644 --- a/starling/node-2d.scm +++ b/starling/node-2d.scm @@ -464,11 +464,11 @@ (sync-texture sprite)) (define-method ((setter atlas) (sprite <atlas-sprite>) atlas) - (next-method) + (slot-set! sprite 'atlas atlas) (sync-texture sprite)) (define-method ((setter index) (sprite <atlas-sprite>) i) - (next-method) + (slot-set! sprite 'index i) (sync-texture sprite)) |