Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
theripper93 committed Jan 18, 2022
1 parent 4f34b10 commit fc22fbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/BloodSplatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,15 +256,15 @@ class BloodSplatter {
}
container.addChild(canvas.background.BloodSplatter.blood);

await Tile.create({
await canvas.scene.createEmbeddedDocuments("Tile",[{
img: await canvas.app.renderer.extract
.base64(container, "image/webp", 0.1)
.replace("webp", "png"),
height: container.height,
width: container.width,
x: x,
y: y,
});
}]);

BloodSplatterSocket.executeForEveryone("ClearAll");
}
Expand Down

0 comments on commit fc22fbf

Please sign in to comment.