From 37baeea61e8c3a1322e0e902954cda476ee21919 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期一, 03 九月 2018 22:25:48 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/SystemSetting/SettingEffectMgr.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/System/SystemSetting/SettingEffectMgr.cs b/System/SystemSetting/SettingEffectMgr.cs
index 2b25a12..8baed07 100644
--- a/System/SystemSetting/SettingEffectMgr.cs
+++ b/System/SystemSetting/SettingEffectMgr.cs
@@ -178,12 +178,14 @@
                 if (list !=  null &&  list.Count > 0)
                 {
                     playerPack.SendEquipdevourQuest();
+                    return;
                 }
             }
 
-            if (HangUpSetModel.Instance.GetBool(HangUpAutoBoolType.isAutoSell))
+            if (HangUpSetModel.Instance.GetBool(HangUpAutoBoolType.isAutoSell) && modelInterface.GetSellItemList().Count > 0)
             {
                 modelInterface.SendOneKeySellQuest(modelInterface.GetSellItemList());
+                return;
             }
         }
     }

--
Gitblit v1.8.0