Skip to content

Commit

Permalink
Merge pull request phaserjs#1026 from lucbloom/spritesheet-report-key
Browse files Browse the repository at this point in the history
Report key when failing
  • Loading branch information
photonstorm committed Jul 15, 2014
2 parents 053f862 + 7498e6a commit 615d1b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/animation/AnimationParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 615d1b6

Please sign in to comment.