From f401ef3cfaf543e8e8119d9ce689a3f8fe5e77ea Mon Sep 17 00:00:00 2001 From: trafficlunar Date: Sun, 29 Dec 2024 19:59:42 +0000 Subject: [PATCH] fix: 68ca27e2 - missing file from commit --- src/components/canvas/Blocks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/canvas/Blocks.tsx b/src/components/canvas/Blocks.tsx index e2575ca..ba4f143 100644 --- a/src/components/canvas/Blocks.tsx +++ b/src/components/canvas/Blocks.tsx @@ -50,7 +50,7 @@ function Blocks({ // Tile solid colors at smaller scales if (scale >= 0.5) { blocks.forEach((block) => { - tilemap.tile(textures[block.name], block.x * 16, block.y * 16); + tilemap.tile(textures[block.name] ?? missingTexture, block.x * 16, block.y * 16); }); } else { blocks.forEach((block) => {