Commit 140f0a58 authored by 13732208043's avatar 13732208043

阈值更改

parent 78474834
This diff is collapsed.
......@@ -186,8 +186,8 @@
if (this.schedule) {
clearInterval(this.schedule);
}
var totalNum = 100;
var nowNum = 90;
var totalNum = TeaNums.totalNum;
var nowNum = TeaNums.nowNum;
this.getTeaPercentage(nowNum, totalNum);
var surplus = nowNum - totalNum;
if (surplus == 0) {
......
This diff is collapsed.
......@@ -309,8 +309,8 @@ export default class GameView extends engine.Container {
showLog('清理定时器,重新设置同步')
clearInterval(this.schedule);
}
let totalNum = 100//TeaNums.totalNum;
let nowNum = /*TeaNums.nowNum*/90
let totalNum = TeaNums.totalNum;
let nowNum = TeaNums.nowNum
showLog('nowNum:', nowNum)
this.getTeaPercentage(nowNum, totalNum);
let surplus = nowNum - totalNum;
......
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