mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
Merge pull request #6694 from Byvire/master
Check for undefined to avoid a crash in the examples at phaser3-custo…
This commit is contained in:
commit
ddc43fcbee
1 changed files with 1 additions and 1 deletions
|
@ -577,7 +577,7 @@ var SceneManager = new Class({
|
|||
sys.step(time, delta);
|
||||
}
|
||||
|
||||
if (sys.scenePlugin._target)
|
||||
if (sys.scenePlugin && sys.scenePlugin._target)
|
||||
{
|
||||
sys.scenePlugin.step(time, delta);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue