From 23bf40a8f81f642e0c186306092d7364c6ba1afb Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 03 六月 2021 11:25:52 +0800
Subject: [PATCH] 8970 【后端】【btzf】【bt】【bt2】【主干】装备格数新增到16阶(装备背包格子加到203格;穿装备无格子报错防范;GM广播时间格式错误报错防范)

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