From e5d9fa7aa6fa305dcf0df6a8daaf8a84a2e13c61 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 15 五月 2019 16:41:58 +0800
Subject: [PATCH] 3335 添加丹药跳转
---
System/Alchemy/AlchemyUseDrugWin.cs | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/System/Alchemy/AlchemyUseDrugWin.cs b/System/Alchemy/AlchemyUseDrugWin.cs
index 481d12c..7106c68 100644
--- a/System/Alchemy/AlchemyUseDrugWin.cs
+++ b/System/Alchemy/AlchemyUseDrugWin.cs
@@ -64,6 +64,14 @@
void Display()
{
DisplayDrugs();
+
+ var index = displayItems.IndexOf(model.jumpAlchemy);
+ if (index != -1)
+ {
+ m_Controller.JumpIndex(index);
+ }
+
+ model.jumpAlchemy = 0;
}
void DisplayDrugs()
--
Gitblit v1.8.0