From 3e464fe2ec8c40fc317e3ec3d6a4c3d9788cf41a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 13 六月 2024 17:27:18 +0800
Subject: [PATCH] 10178 【越南】【香港】【主干】挂机奖励(B109封包修改)
---
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