mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
Added back in undefined Tileset check.
This commit is contained in:
parent
46c20ab00a
commit
ab739bdce0
1 changed files with 4 additions and 2 deletions
|
@ -173,7 +173,6 @@ Phaser.TilemapLayerGL = function (game, tilemap, index, width, height, tileset)
|
|||
* @private
|
||||
*/
|
||||
|
||||
/*
|
||||
if (tileset === undefined)
|
||||
{
|
||||
if (tilemap.layers[index] && tilemap.layers[index].tileset)
|
||||
|
@ -184,8 +183,11 @@ Phaser.TilemapLayerGL = function (game, tilemap, index, width, height, tileset)
|
|||
{
|
||||
tileset = tilemap.tilesets[0];
|
||||
}
|
||||
else
|
||||
{
|
||||
tileset = null;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
this._mc = {
|
||||
|
||||
|
|
Loading…
Reference in a new issue