From d171a50540a656408fbcc1cda016e3d0aede51f9 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 26 二月 2025 17:53:32 +0800
Subject: [PATCH] 10385 【越南】【英语】【BT】【GM】【砍树】福地新增鼠管及优化-服务端(优化结算奖励逻辑;)

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

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossActAllRecharge.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossActAllRecharge.py
index 4d8af43..923b1a3 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossActAllRecharge.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossActAllRecharge.py
@@ -311,6 +311,9 @@
 def Sync_CrossActAllRechargeInfo(curPlayer=None, syncKey=None):
     ## 通知活动信息
     
+    if PyGameData.g_crossActInfoDict == None:
+        return
+    
     if curPlayer:
         actInfo = CrossActionControl.GetPlayerCrossActInfo(curPlayer, ShareDefine.CrossActName_AllRecharge)
         # 活动中同步活动信息

--
Gitblit v1.8.0