diff options
| -rw-r--r-- | objects.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3717,7 +3717,7 @@ SpriteMorph.prototype.doScreenshot = function (data) { ide = this.parentThatIsA(IDE_Morph), screenshotName = data, costume = new Costume(canvas, screenshotName); - ide.currentSprite.addCostume(costume); + this.addCostume(costume); }; // SpriteHighlightMorph ///////////////////////////////////////////////// |
