Skip to content

Commit

Permalink
Added texture not found error notification
Browse files Browse the repository at this point in the history
  • Loading branch information
vpmedia committed Oct 26, 2023
1 parent 7868b26 commit 21cd2fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/phaser/core/animation_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ export class AnimationManager {
}
} else {
console.warn('Cannot set frame: ' + value);
this.game.exceptionHandler(new Error('Cannot set frame'), { key: value });
}
}

Expand All @@ -333,6 +334,7 @@ export class AnimationManager {
}
} else {
console.warn('Cannot set frameName: ' + value);
this.game.exceptionHandler(new Error('Cannot set frameName'), { key: value });
}
}
}

0 comments on commit 21cd2fe

Please sign in to comment.