From ab19e6fe9799e56970f955b0a123a59d362cdf76 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 19 七月 2023 17:12:47 +0800
Subject: [PATCH] 8896 【后端】特权令(修复默认参数同步bug)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_BossFirstKill.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_BossFirstKill.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_BossFirstKill.py
index e62d046..a2efa76 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_BossFirstKill.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_BossFirstKill.py
@@ -139,8 +139,9 @@
     Sync_BossFirstKillState(curPlayer, [bossID])
     return
 
-def Sync_BossFirstKillState(curPlayer, syncBossIDList=[], isForce=False):
-    if not syncBossIDList:
+def Sync_BossFirstKillState(curPlayer, syncBossIDList=None, isForce=False):
+    if syncBossIDList == None:
+        syncBossIDList = []
         ipyDataMgr = IpyGameDataPY.IPY_Data()
         for index in xrange(ipyDataMgr.GetBOSSFirstKillCount()):
             ipyData = ipyDataMgr.GetBOSSFirstKillByIndex(index)

--
Gitblit v1.8.0