diff options
| author | Viraj Mahesh <virajmahesh@gmail.com> | 2014-03-07 15:05:50 -0800 |
|---|---|---|
| committer | Viraj Mahesh <virajmahesh@gmail.com> | 2014-03-07 15:05:50 -0800 |
| commit | 4888ecb9ec74b52c606e6dc7dbaf54119b553f85 (patch) | |
| tree | 41d2be4b71ba0920c2674bfe61b4a32957c9a9d9 | |
| parent | 8a74747cd735f04f9ce7ab859e8f88642fea1ffd (diff) | |
| download | snap-yow-4888ecb9ec74b52c606e6dc7dbaf54119b553f85.tar.gz snap-yow-4888ecb9ec74b52c606e6dc7dbaf54119b553f85.zip | |
Use this.addCostume instead of IDE
| -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 ///////////////////////////////////////////////// |
