Commit b31c0c6e authored by wjf's avatar wjf

l

parent 3275d414
......@@ -217,7 +217,8 @@ export default class MainScene extends Scene {
this.chapterTxt.text = "第" + this.chapter + "关";
//关卡数据,1期定制,70,后面35关地图一致,步数减少
var mapDataIndex = this.chapter;
if (this.chapter >= 56) {
//56到70的话,中间36到50
if (this.chapter >= 56 && this.chapter <= 70) {
//循环36到50
mapDataIndex = this.chapter - 20
}
......@@ -233,8 +234,8 @@ export default class MainScene extends Scene {
NetManager.ins.showLog(getlogItem(10))
NetManager.ins.showLog(getlogItem(13))
//步数初始化,1期定制,
if (this.chapter >= 56) {
//步数初始化,1期定制,56到70的话
if (this.chapter >= 56 && this.chapter <= 70) {
this.steps = this.chapterData.stepCount - 4;
}
else {
......@@ -2373,7 +2374,7 @@ export default class MainScene extends Scene {
Loading2.instace.show();
NetManager.ins.hc_submit((s, data) => {
if (s) {
wait(200).then(()=>{
wait(200).then(() => {
updateMainTimerAfterGetData();//submit之后再判断一次home,更新倒计时
});
const submitData = DataManager.ins.getData('hc_submit').data;
......
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