From 9cff46fa2c92a65d2560a1737e2c07bba24ef3ff Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 22 一月 2025 11:34:14 +0800
Subject: [PATCH] 1111 【越南】【英语】【BT】【砍树】修复坐骑自动升级时一次性使用多倍单次消耗培养丹时少算培养任务次数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