Commit 28fc4e2a authored by 李维's avatar 李维

修复重新开始时报错的问题

parent 7239ac55
......@@ -3104,7 +3104,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.currentAudioPlay = null;
this.hotZoneBg.children.forEach(child=>{
if(child.name != "slicedBg") {
child.destroy();
}
})
this.disableScroll(); // 禁用页面滚动
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment