mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +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);
|
sys.step(time, delta);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sys.scenePlugin._target)
|
if (sys.scenePlugin && sys.scenePlugin._target)
|
||||||
{
|
{
|
||||||
sys.scenePlugin.step(time, delta);
|
sys.scenePlugin.step(time, delta);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue