Commit 44fff0cc authored by wildfirecode's avatar wildfirecode

1

parent ba18d0ab
......@@ -129,7 +129,7 @@ export default class MainBase extends eui.UILayer {
private async runGame() {
await this.loadResource();
// RES.getResAsync('bg_mp3');
RES.getResAsync('bg_mp3');
RES.getResAsync(`nums_png`);
RES.getResAsync(`nums_fnt`);
if (!window['development'])
......
......@@ -92,10 +92,6 @@ export default class MapScene extends Scene {
PanelCtrl.instance.show('StartPanel', data.level)
}
window["WeixinJSBridge"] && window["WeixinJSBridge"].invoke('getNetworkType', {}, (e)=> {
playBg();
});
this.stage.once(egret.TouchEvent.TOUCH_TAP, () => {
if (!MapScene['firstPlayBgTag']) {
playBg();
......
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