summaryrefslogtreecommitdiff
path: root/objects.js
diff options
context:
space:
mode:
Diffstat (limited to 'objects.js')
-rw-r--r--objects.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/objects.js b/objects.js
index 5d3237e..52abac1 100644
--- a/objects.js
+++ b/objects.js
@@ -3717,11 +3717,11 @@ SpriteMorph.prototype.doScreenshot = function (imgSource, data) {
this.screenshotNames[data] = 0;
}
if (imgSource[0] === "pen trails") {
- canvas = stage.penTrails();
+ canvas = stage.trailsCanvas;
} else if (imgSource[0] === "stage image") {
canvas = stage.fullImageClassic();
}
- costume = new Costume(canvas, data);
+ costume = new Costume(canvas, data).copy();
this.addCostume(costume);
};