mirror of
https://github.com/photonstorm/phaser
synced 2025-01-07 10:48:51 +00:00
Fixed event handler.
This commit is contained in:
parent
1d22f5a59a
commit
2f1ee57505
1 changed files with 2 additions and 4 deletions
|
@ -777,11 +777,9 @@ var SceneManager = new Class({
|
||||||
*
|
*
|
||||||
* @param {object} event - [description]
|
* @param {object} event - [description]
|
||||||
*/
|
*/
|
||||||
payloadComplete: function (event)
|
payloadComplete: function (loader)
|
||||||
{
|
{
|
||||||
var scene = event.loader.scene;
|
this.bootScene(loader.scene);
|
||||||
|
|
||||||
this.bootScene(scene);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue