I think I may have found a bug in the function SceneManager.run().
If the scene is paused, scene.sys.resume() is not called because the “else if” branch is malformed. Instead of the first condition before the AND being “scene.sys.isBooted”, shouldn’t it be “scene.sys.settings.isBooted”? As it is, the expression evaluates to undefined, which means false, so that branch of the conditional is never taken, so “this.start” is called instead, resulting in the scene’s create function being called again.
I’m using Phaser 3.19.0. Could someone please check this for me? Thanks in advance!