From c0cd0adabde50cceda458aec8c86821f66ce5ac7 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期六, 25 五月 2019 15:07:37 +0800
Subject: [PATCH] 3335 炼丹进度显示问题

---
 System/Alchemy/AlchemyDrugProgressBehaviour.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/System/Alchemy/AlchemyDrugProgressBehaviour.cs b/System/Alchemy/AlchemyDrugProgressBehaviour.cs
index ce9b8ea..dd4848f 100644
--- a/System/Alchemy/AlchemyDrugProgressBehaviour.cs
+++ b/System/Alchemy/AlchemyDrugProgressBehaviour.cs
@@ -60,7 +60,7 @@
             uint tick = 0;
             if (model.TryGetAlchemyStartTime(alchemyId, out tick))
             {
-                var config = AlchemyConfig.Get(model.selectAlchemy);
+                var config = AlchemyConfig.Get(alchemyId);
                 var startTime = TimeUtility.GetTime(tick);
                 var seconds = (float)(TimeUtility.ServerNow - startTime).TotalSeconds;
                 m_Progress.fillAmount = Mathf.Clamp01(seconds / config.NeedTime);

--
Gitblit v1.8.0