fix 镇念塔挂机奖励无法获取

This commit is contained in:
luying
2020-12-30 14:35:45 +08:00
parent 76d3b30886
commit f6bf60b384
2 changed files with 9 additions and 9 deletions
@@ -91,7 +91,7 @@ export class TowerBattleHandler {
let num = HANG_UP_CONSTS.MAX_SPD_UP_CNT - hangUpSpdUpCnt + 1;
let nextCostGold = calculateNum(GOLD_COST_RATIO.TOWER_HANG_SPDUP, {num}, 50);
return resResult(STATUS.SUCCESS, {startTime, hangUpPassTime: Math.floor(deltaTime/1000), hangUpSpdUpCnt, nextCostGold, rewards: timeReward.map(cur => {return {id: cur.gid, count: cur.count}})});
return resResult(STATUS.SUCCESS, {startTime, hangUpPassTime: Math.floor(deltaTime/1000), hangUpSpdUpCnt, nextCostGold, rewards: timeReward});
}
async recHangUpRewards(msg: {}, session: BackendSession) {