summaryrefslogtreecommitdiff
path: root/objects.js
diff options
context:
space:
mode:
Diffstat (limited to 'objects.js')
-rw-r--r--objects.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/objects.js b/objects.js
index c357f73..f7ce467 100644
--- a/objects.js
+++ b/objects.js
@@ -3706,6 +3706,9 @@ SpriteMorph.prototype.doScreenshot = function() {
console.log('Testing screenshot');
var parent = this.parentThatIsA(StageMorph);
var image = parent.fullImageClassic();
+ var ide = this.parentThatIsA(IDE_Morph);
+ var costume = new Costume(image);
+ ide.currentSprite.addCostume(image);
};
// SpriteHighlightMorph /////////////////////////////////////////////////