From 388823edfe6308cba6f76ca6dc4f20022c5cb2be Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 30 六月 2025 19:03:50 +0800
Subject: [PATCH] 10431 【英文】看广告获得限时代金券

---
 ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBattlefield.py |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBattlefield.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBattlefield.py
index 529b514..c3e7baa 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBattlefield.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBattlefield.py
@@ -253,6 +253,8 @@
                 
             billboardObj.ClearData()
             
+    # 清空队伍
+    PlayerFuncTeam.DelTeamByFunc(ChConfig.Def_FBMapID_CrossBattlefield)
     return
 
 def GetCrossBattlefieldState():
@@ -472,9 +474,9 @@
                     GameWorld.Log("    无召集的场次不开分区战场! zoneID=%s" % (zoneID))
                  
     # 关闭
-    if not battlefieldState and beforeState != battlefieldState:
-        # 活动结束清空队伍
-        PlayerFuncTeam.DelTeamByFunc(ChConfig.Def_FBMapID_CrossBattlefield)
+    #if not battlefieldState and beforeState != battlefieldState:
+    #    # 活动结束清空队伍
+    #    PlayerFuncTeam.DelTeamByFunc(ChConfig.Def_FBMapID_CrossBattlefield)
         
     # 同步子服务器
     dataMsg = {"battlefieldState":battlefieldState}

--
Gitblit v1.8.0