diff options
| -rw-r--r-- | objects.js | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -3714,9 +3714,7 @@ SpriteMorph.prototype.doScreenshot = function (data) { } var stage = this.parentThatIsA(StageMorph), canvas = stage.fullImageClassic(), - ide = this.parentThatIsA(IDE_Morph), - screenshotName = data, - costume = new Costume(canvas, screenshotName); + costume = new Costume(canvas, data); this.addCostume(costume); }; |
