Compare commits

..

No commits in common. "fe75aa3aa0fdc75137c6e20756fe1dca303b77a0" and "1983a8099f9f0fac1edc92e05f96fa2fc50e7c51" have entirely different histories.

1 changed files with 0 additions and 5 deletions

View File

@ -37,7 +37,6 @@ public class GachaUI : uScrollViewMgr
{ {
var cal = GachaAutoRefillTime - InternetTime.Ins.Time; var cal = GachaAutoRefillTime - InternetTime.Ins.Time;
fRefillTime -= Time.deltaTime; fRefillTime -= Time.deltaTime;
if (cal.TotalSeconds <= 0) fRefillTime = 0f;
texts[3].text = fRefillTime > 0f ? $"{fRefillTime:F2}s" : "0s"; texts[3].text = fRefillTime > 0f ? $"{fRefillTime:F2}s" : "0s";
var fRefillTimeMax = table_GlobalValue.Ins.Get_Float("GachaAutoRefill_DelayTime"); var fRefillTimeMax = table_GlobalValue.Ins.Get_Float("GachaAutoRefill_DelayTime");
if (SaveMgr.Ins.GachaChargeTime_Reduce()) fRefillTimeMax -= fRefillTimeMax * 0.9f; if (SaveMgr.Ins.GachaChargeTime_Reduce()) fRefillTimeMax -= fRefillTimeMax * 0.9f;
@ -62,10 +61,6 @@ public class GachaUI : uScrollViewMgr
texts_luckypoint[i].alpha = 0f; texts_luckypoint[i].alpha = 0f;
Set_UI(false); Set_UI(false);
Init_GachaAnim(); Init_GachaAnim();
var cal = GachaAutoRefillTime - InternetTime.Ins.Time;
if (cal.TotalMilliseconds > 0f)
fRefillTime = (float)cal.TotalMilliseconds * 0.001f;
} }
void Set_UI(bool updateSlider) void Set_UI(bool updateSlider)