From 17614d533f1fd8a4b37c0a7ef67a67c8dfe4690e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 26 九月 2022 19:00:33 +0800
Subject: [PATCH] 9701 【后端】【越南】【BT7】【主干】跨服竞技64位排位赛(修复多分区时可能同步空玩家列表的bug)
---
ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_BroadCast.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_BroadCast.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_BroadCast.py
index 311f194..f0327ed 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_BroadCast.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_BroadCast.py
@@ -89,6 +89,9 @@
# @return None
def CheckDate(startDate, endDate):
+ if not startDate or not endDate:
+ return False
+
if (endDate - startDate).days < 0:
return True
--
Gitblit v1.8.0