You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening this issue, and for submitting a PR to fix it. We have merged your PR into the master branch and attributed the work to you in the Change Log. If you need to tweak the code for whatever reason please submit a new PR.
Version
Description
When starting a scene with an invalid key, the command just kills the current scene with no error shown.
https://github.com/photonstorm/phaser/blob/5c8ecbcf999e6f328d21884e877c9e5935d2d350/src/scene/SceneManager.js#L1154
Seems there is no handling of the negative case of that
if
.Example Test Code
When no such scene was registered in the GameConfig:
this.scene.start("game-over");
Additional Information
Would a PR to console log/warn be considered?
The text was updated successfully, but these errors were encountered: