Commit 23f75179 authored by wildfirecode's avatar wildfirecode

1

parent 9ed62a9b
...@@ -92,6 +92,10 @@ export default class MapScene extends Scene { ...@@ -92,6 +92,10 @@ export default class MapScene extends Scene {
PanelCtrl.instance.show('StartPanel', data.level) PanelCtrl.instance.show('StartPanel', data.level)
} }
window["WeixinJSBridge"] && window["WeixinJSBridge"].invoke('getNetworkType', {}, (e)=> {
playBg();
});
this.stage.once(egret.TouchEvent.TOUCH_TAP, () => { this.stage.once(egret.TouchEvent.TOUCH_TAP, () => {
if (!MapScene['firstPlayBgTag']) { if (!MapScene['firstPlayBgTag']) {
playBg(); 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