mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-01 13:29:06 +02:00
Generate light layer
This commit is contained in:
parent
e1b3347da5
commit
9e0bbcf685
5 changed files with 52 additions and 30 deletions
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue