Fix Bug #23321
This commit is contained in:
pandamicro 2015-10-09 15:27:56 +08:00
commit 87677cdbd1
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,9 @@ var TestScene = cc.Scene.extend({
}
},
onMainMenuCallback:function () {
if (director.isPaused()) {
director.resume();
}
var scene = new cc.Scene();
var layer = new TestController();
scene.addChild(layer);