From 0821a43a815337c2920e4ec436f4ab08d91c147e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 24 十二月 2025 15:39:18 +0800
Subject: [PATCH] 374 【活动内容】开服庆典-服务端(庆典白骨成就改为扫荡就算,挑战过关不算;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py
index 3ee482d..9b03311 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py
@@ -1216,10 +1216,15 @@
             continue
         
         memOffTime = member.GetOffTime()
-        memPassTime = curTime - memOffTime
-        memPassHours = memPassTime / 3600.0
-        sortTime = memOffTime if memOffTime else curTime # 排序用的时间,越大越优先
-        
+        if memOffTime:
+            sortTime = memOffTime
+            memPassTime = curTime - memOffTime
+            memPassHours = memPassTime / 3600.0
+        else:
+            sortTime = curTime # 排序用的时间,越大越优先
+            memPassTime = 0
+            memPassHours = 0
+            
         fmLV = member.GetFmLV() # 职位
         contribTotal = member.GetContribTotal() # 总贡献
         

--
Gitblit v1.8.0