From 99cc9156388d474f9923e4ee6308ce1886c9595b Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 16 八月 2018 13:42:09 +0800
Subject: [PATCH] fix:2589 装备分解满级后分解处理
---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
index 6c82da8..d8a9525 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -1160,8 +1160,12 @@
 #    3. 如果没有玩家存在, 副本回收
     if GameWorld.GetMap().GetMapFBType() != 0:
         #离开副本
+        fbIndex = GameWorld.GetGameWorld().GetCurGameWorldIndex()
+        exitFBType = 1 if isDisconnect else 2
+        PyGameData.g_lastExitFBType[fbIndex] = [exitFBType, tick]
+        #GameWorld.DebugLog("玩家离开副本:fbIndex=%s,exitFBType=%s, %s" % (fbIndex, exitFBType, PyGameData.g_lastExitFBType), curPlayer.GetPlayerID())
         FBLogic.DoExitFBLogic(curPlayer, tick)
-
+        
     GameLogic_ManorWar.DoExitFB(curPlayer, tick)
     
     #清空所有不属于自己的光环
--
Gitblit v1.8.0