mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 23:24:41 +00:00
Report key when failing
While loading sprite sheet.
This commit is contained in:
parent
6a0b8b5e73
commit
7498e6aa6e
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ Phaser.AnimationParser = {
|
|||
// Zero or smaller than frame sizes?
|
||||
if (width === 0 || height === 0 || width < frameWidth || height < frameHeight || total === 0)
|
||||
{
|
||||
console.warn("Phaser.AnimationParser.spriteSheet: width/height zero or width/height < given frameWidth/frameHeight");
|
||||
console.warn("Phaser.AnimationParser.spriteSheet: '" + key + "'s width/height zero or width/height < given frameWidth/frameHeight");
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue