mirror of
https://github.com/rastapasta/mapscii.git
synced 2024-11-21 23:53:08 +01:00
Fix breaking bug introduced in 0353effa67
This commit is contained in:
parent
7d6aa54d33
commit
57497ecea7
@ -145,8 +145,8 @@ class Renderer {
|
||||
const labels = [];
|
||||
|
||||
const drawOrder = this._generateDrawOrder(tiles[0].xyz.z);
|
||||
for (const layerId in drawOrder) {
|
||||
for (const tile in tiles) {
|
||||
for (const layerId of drawOrder) {
|
||||
for (const tile of tiles) {
|
||||
const layer = tile.layers[layerId];
|
||||
if (!layer) continue;
|
||||
for (const feature of layer.features) {
|
||||
|
Loading…
Reference in New Issue
Block a user