Commit af285044 authored by 邱旭's avatar 邱旭

1

parent ab71e2bb
...@@ -162,6 +162,11 @@ export default class HbCutTime extends Panel { ...@@ -162,6 +162,11 @@ export default class HbCutTime extends Panel {
onTouchOK() { onTouchOK() {
NetManager.ins.clickLog(getlogItem(58)); NetManager.ins.clickLog(getlogItem(58));
try {
if(window['getRST']) window['getRST']();
} catch(error) {
console.warn(error)
}
PanelCtrl.instance.show('HbGame', {needScore: this.data.res.data.currentSession.limitScore}); PanelCtrl.instance.show('HbGame', {needScore: this.data.res.data.currentSession.limitScore});
} }
......
...@@ -81,6 +81,11 @@ export default class HbGame extends Panel { ...@@ -81,6 +81,11 @@ export default class HbGame extends Panel {
private hbDoJoin() { private hbDoJoin() {
let session = DataManager.ins.getData(NetName.HBRAIN_BASEINFO).data.currentSession.sessionIndex; let session = DataManager.ins.getData(NetName.HBRAIN_BASEINFO).data.currentSession.sessionIndex;
try {
if(window['getRST']) window['getRST']();
} catch(error) {
console.warn(error)
}
NetManager.ins.hbRainDoJoin((success, res) => { NetManager.ins.hbRainDoJoin((success, res) => {
NetManager.ins.hc_home(() => { NetManager.ins.hc_home(() => {
SceneCtrl.instance.updateScene(); SceneCtrl.instance.updateScene();
......
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