mirror of
https://github.com/rastapasta/mapscii.git
synced 2024-11-22 08:03:07 +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 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…
Reference in New Issue
Block a user