From e4fc3ac2dea951d1345acb647cf9bc36142951e9 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 12 二月 2026 11:41:47 +0800
Subject: [PATCH] 16 卡牌服务端(删除不需要的旧活动:成长必买、限时特惠、限时礼包、每日礼包、限时抢购、极品白拿、运势活动、天帝礼包、转盘、许愿池、幸运鉴宝;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/RecvPackToMapDB.py |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/RecvPackToMapDB.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/RecvPackToMapDB.py
index 3c3b20f..190da97 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/RecvPackToMapDB.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/RecvPackToMapDB.py
@@ -26,6 +26,8 @@
         return False
 
     #GameWorld.Log("RecvPackToMapDB packlen %s"%len(packBuff))
+    if not PyGameData.g_usrCtrlDB:
+        return
     PyGameData.g_usrCtrlDB.requestLogicProcess(pack)
 
 
@@ -36,5 +38,7 @@
         pack.setBuffer(packBuff)    # 只设置数据
     else:
         pack.readData(packBuff)     # 设置封包头 和 数据
-            
-    PyGameData.g_usrCtrlDB.requestLogicProcess(pack)
\ No newline at end of file
+    if not PyGameData.g_usrCtrlDB:
+        return
+    PyGameData.g_usrCtrlDB.requestLogicProcess(pack)
+    
\ No newline at end of file

--
Gitblit v1.8.0