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