From 00862a9a8898036aa904baae68e3eedf6fcdc4cc Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 09 十月 2018 12:04:59 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/KnapSack/Logic/PackModelInterface.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/System/KnapSack/Logic/PackModelInterface.cs b/System/KnapSack/Logic/PackModelInterface.cs
index e1b454a..aa04277 100644
--- a/System/KnapSack/Logic/PackModelInterface.cs
+++ b/System/KnapSack/Logic/PackModelInterface.cs
@@ -1213,8 +1213,9 @@
         /// <param name="_oneKeySelllist"></param>
         public void SendOneKeySellQuest(List<ItemModel> _oneKeySelllist)
         {
-            if (!isPackResetOk) return;
+            if (!isPackResetOk || SettingEffectMgr.Instance.isStartOneKeySell) return;
 
+            SettingEffectMgr.Instance.isStartOneKeySell = true;
             byte[] itemIndexs = new byte[_oneKeySelllist.Count];
             int i = 0;
             for (i = 0; i < _oneKeySelllist.Count; i++)

--
Gitblit v1.8.0