Commit 0f89eb5d authored by 邱旭's avatar 邱旭

1

parent fc6c3052
import { NetManager } from "../libs/tw/manager/NetManager";
import { DataManager } from "../libs/tw/manager/DataManager";
import SceneCtrl from "../libs/new_wx/ctrls/sceneCtrl";
/**
* callback回调1是有奖,0是没有奖或者风控
......@@ -16,7 +17,7 @@ export default (callback?) => {
// else {
// callback(0);
// }
SceneCtrl.instance.updateScene();
}
// else {
// callback(0);
......
......@@ -3101,6 +3101,7 @@ export default class MainScene extends Scene {
NetManager.ins.hc_redBombAward((success) => {
// if (success) // TODO 无论成功失败都弹,失败则为无奖励
this.redBombPanelMark = true;
SceneCtrl.instance.updateScene();
});
}
}
......
......@@ -20,6 +20,7 @@ import { FesRedShootAni } from "../anisCall/FesRedShootAni";
import { FesRedShootAni2 } from "../anisCall/FesRedShootAni2";
import { loadSvga } from "../../loadSvga";
import getResPath from "../../../libs/new_tc/getResPath";
import SceneCtrl from "../../../libs/new_wx/ctrls/sceneCtrl";
//孵鸡的数量
const chickenNum: number = 4;
......@@ -130,6 +131,7 @@ export class AiControl {
if (!six.length) {
NetManager.ins.hc_redBombAward((success) => {
if (success) thisObj.redBombPanelMark = true;
SceneCtrl.instance.updateScene();
});
callback();
return
......
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