summaryrefslogtreecommitdiffstats
path: root/viewer
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-02-03 13:13:12 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-02-03 13:13:12 +0100
commit9e0bbcf685786e21b7d61216f4e1a24f0b1a3354 (patch)
treefb165bfc8645c548a1b0c6b55085e69b16b8197d /viewer
parente1b3347da56110563324b7b1afb0c38a9d172732 (diff)
downloadMinedMap-9e0bbcf685786e21b7d61216f4e1a24f0b1a3354.tar
MinedMap-9e0bbcf685786e21b7d61216f4e1a24f0b1a3354.zip
Generate light layer
Diffstat (limited to 'viewer')
-rw-r--r--viewer/MinedMap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/MinedMap.js b/viewer/MinedMap.js
index 464bd22..ad330b2 100644
--- a/viewer/MinedMap.js
+++ b/viewer/MinedMap.js
@@ -21,7 +21,7 @@ var MinedMapLayer = L.GridLayer.extend({
if (coords.x >= this._info.minX && coords.x <= this._info.maxX &&
coords.y >= this._info.minZ && coords.y <= this._info.maxZ &&
this._regions[coords.y-this._info.minZ][coords.x-this._info.minX])
- tile.src = 'data/0/r.'+coords.x+'.'+coords.y+'.png';
+ tile.src = 'data/map/0/r.'+coords.x+'.'+coords.y+'.png';
return tile;
},