Commit 4644465a authored by rockyl's avatar rockyl

修复

parent 73f2d3c5
...@@ -351,9 +351,9 @@ export class GameStage extends Node { ...@@ -351,9 +351,9 @@ export class GameStage extends Node {
}, async () => { }, async () => {
this.hideInnerLoadingView(); this.hideInnerLoadingView();
}); });
if(!this._config.options.loadingView){ }
onPreloadAssetsComplete && onPreloadAssetsComplete(); if(!this._config.options.loadingView){
} onPreloadAssetsComplete && onPreloadAssetsComplete();
} }
} else { } else {
total = assetsToLoad.length; total = assetsToLoad.length;
...@@ -376,6 +376,7 @@ export class GameStage extends Node { ...@@ -376,6 +376,7 @@ export class GameStage extends Node {
} }
} }
} }
onPreloadAssetsComplete && onPreloadAssetsComplete();
} }
function p() { function p() {
......
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