fix: 68ca27e2 - missing file from commit
This commit is contained in:
parent
68ca27e233
commit
f401ef3cfa
1 changed files with 1 additions and 1 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue