Commit 140f0a58 authored by 13732208043's avatar 13732208043

阈值更改

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