Merge pull request #451 from pandamicro/master

Fix EVENT_AFTER_SCENE_LAUNCH not fired isse
This commit is contained in:
pandamicro
2016-03-09 17:10:14 +08:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -539,8 +539,8 @@ cc.Director = Class.extend(/** @lends cc.Director# */{
if (onLaunched) {
onLaunched(null, scene);
this.emit(cc.Director.EVENT_AFTER_SCENE_LAUNCH, scene);
}
this.emit(cc.Director.EVENT_AFTER_SCENE_LAUNCH, scene);
},
/**
+1 -1
View File
@@ -151,8 +151,8 @@ cc.js.mixin(cc.director, {
if (onLaunched) {
onLaunched(null, scene);
this.emit(cc.Director.EVENT_AFTER_SCENE_LAUNCH, scene);
}
this.emit(cc.Director.EVENT_AFTER_SCENE_LAUNCH, scene);
},
/**