| Main/System/InternalAffairs/GoldRushWorkCell.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Main/System/InternalAffairs/GoldRushWorkCell.cs
@@ -1,4 +1,5 @@ using System.Collections.Generic; using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; @@ -62,7 +63,7 @@ { if (endTime != 0) { timeText.text = TimeUtility.SecondsToHMS(endTime - TimeUtility.AllSeconds); timeText.text = TimeUtility.SecondsToHMS(Math.Max(0, endTime - TimeUtility.AllSeconds)); //按原总时长当进度条 slider.value = (config.NeedSeconds - (endTime - TimeUtility.AllSeconds)) / (float)config.NeedSeconds; }