From dc925938d150b82d50bcbdfd6b0b860be31ba53a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 20 十月 2022 17:06:12 +0800
Subject: [PATCH] 9739 【越南】【BT7】【主干】运营活动下发时间优化(优化累计充值、消费返利活动开始日期与开服定制天交叉时下发开始日期为第8天)
---
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