summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starling/node-2d.scm4
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))