Commit 23f75179 authored by wildfirecode's avatar wildfirecode

1

parent 9ed62a9b
......@@ -92,6 +92,10 @@ 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