From c280ced8be799a899efc78b21cc807d435ab6609 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 10 二月 2026 19:34:03 +0800
Subject: [PATCH] 66 【公会】基础主体-服务端(退出公会时间根据当前是否互通取对应的本服或跨服时间;)
---
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossFamilyGCZ.py | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossFamilyGCZ.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossFamilyGCZ.py
index 806285c..2d66655 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossFamilyGCZ.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossFamilyGCZ.py
@@ -249,9 +249,8 @@
return True
def SetPlayerInCity(self, playerID, serverGroupID):
- if playerID in self.inCityPlayerIDList:
- return
- self.inCityPlayerIDList.append(playerID)
+ if playerID not in self.inCityPlayerIDList:
+ self.inCityPlayerIDList.append(playerID)
Sync_FamilyGCZBatCityInfo(self.zoneID, self.batType, self.groupNum, self.cityID, toPlayerServerDict={playerID:serverGroupID})
return
@@ -494,9 +493,8 @@
return newCity
def SetPlayerInScene(self, playerID, serverGroupID):
- if playerID in self.inBatScenePlayerIDList:
- return
- self.inBatScenePlayerIDList.append(playerID)
+ if playerID not in self.inBatScenePlayerIDList:
+ self.inBatScenePlayerIDList.append(playerID)
Sync_FamilyGCZBatSceneInfo(self.zoneID, self.batType, self.groupNum, toPlayerServerDict={playerID:serverGroupID})
return
--
Gitblit v1.8.0