Merge pull request #5927 from samme/feature/createLayer-warning

Improve the "Invalid Tilemap Layer" warning
This commit is contained in:
Richard Davey 2021-11-22 16:49:09 +00:00 committed by GitHub
commit ec4e8ccff7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;