mirror of
https://github.com/photonstorm/phaser
synced 2024-12-14 07:13:00 +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]
|
||||
*/
|
||||
payloadComplete: function (event)
|
||||
payloadComplete: function (loader)
|
||||
{
|
||||
var scene = event.loader.scene;
|
||||
|
||||
this.bootScene(scene);
|
||||
this.bootScene(loader.scene);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue