fix: 68ca27e2 - missing file from commit

This commit is contained in:
trafficlunar 2024-12-29 19:59:42 +00:00
parent 68ca27e233
commit f401ef3cfa

View file

@ -50,7 +50,7 @@ function Blocks({
// Tile solid colors at smaller scales // Tile solid colors at smaller scales
if (scale >= 0.5) { if (scale >= 0.5) {
blocks.forEach((block) => { 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 { } else {
blocks.forEach((block) => { blocks.forEach((block) => {