mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 22:18:29 +00:00
Merge pull request #5927 from samme/feature/createLayer-warning
Improve the "Invalid Tilemap Layer" warning
This commit is contained in:
commit
ec4e8ccff7
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ var Tilemap = new Class({
|
|||
|
||||
if (typeof layerID === 'string')
|
||||
{
|
||||
console.warn('Valid tilelayer names:\n\t' + this.getTileLayerNames().join(',\n\t'));
|
||||
console.warn('Valid tilelayer names: %o', this.getTileLayerNames());
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
Loading…
Add table
Reference in a new issue