Commit 2d7ca2c4 authored by liujiangnan's avatar liujiangnan

debug

parent 0fdb58bc
...@@ -48,13 +48,13 @@ cc.Class({ ...@@ -48,13 +48,13 @@ cc.Class({
this.preloadCount = 0; this.preloadCount = 0;
this.loadedCount = 0; this.loadedCount = 0;
initAir(this); initAir(this);
if (!window.preloadBundleAndSourcesFlag) { // if (!window.preloadBundleAndSourcesFlag) {
// 只加载一次就行了 // // 只加载一次就行了
window.preloadBundleAndSourcesFlag = true; // window.preloadBundleAndSourcesFlag = true;
cc.find("middleLayer/ui/ProgressLabel").active = true; // cc.find("middleLayer/ui/ProgressLabel").active = true;
cc.find('middleLayer/ui/loadingProgress').active = true; // cc.find('middleLayer/ui/loadingProgress').active = true;
this.preloadAll(); // this.preloadAll();
} // }
}, },
start() { start() {
......
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