From ad9ca5656fe2b0af83ca3d3cd6b7cc5511047ba9 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 16 七月 2024 11:35:48 +0800
Subject: [PATCH] 9415 【主干】【港台】【越南】【砍树】【后端】古神战场(C107增加战场分区通知)

---
 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