Commit 65bbe703 authored by wildfirecode's avatar wildfirecode

1

parent 96bd5c99
......@@ -2558,6 +2558,11 @@ export default class MainScene extends Scene {
* @param callback
*/
submit(json: string) {
try {
if (window['getRST']) window['getRST']();
} catch (error) {
console.warn(error)
}
NetManager.ins.hc_submit((s, data) => {
if (s) {
wait(200).then(() => {
......
......@@ -108,11 +108,11 @@ showlog(){
// Loading.instace.show();
this.touchChildren = false;
this.touchEnabled = false;
try {
if (window['getRST']) window['getRST']();
} catch (error) {
console.warn(error)
}
// try {
// if (window['getRST']) window['getRST']();
// } catch (error) {
// console.warn(error)
// }
hdGameDoDojoin(async (success) => {
// Loading.instace.hide();
......
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