Skip to content

Commit

Permalink
Tile drawing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
markusmoenig committed Aug 3, 2024
1 parent 7bf1712 commit b72925f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shared/src/tiledrawer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ impl TileDrawer {
}
}
}
} else if let Some(tile) = region.tiles.get(&(tile_x, tile_y)) {
}

if let Some(tile) = region.tiles.get(&(tile_x, tile_y)) {
for tile_index in 0..tile.layers.len() {
if let Some(tile_uuid) = tile.layers[tile_index] {
if let Some(data) = self.tiles.get(&tile_uuid) {
Expand Down

0 comments on commit b72925f

Please sign in to comment.