From 489e938c6080586e48fded228e0711cc53ea125c Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期一, 03 九月 2018 22:43:05 +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