From 9e53b08d7312c5ad7e272cfc8135c242aac09034 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 08 十月 2024 18:34:49 +0800
Subject: [PATCH] 10263 【越南】后端支持NPC仿真实玩家战斗和快速战斗

---
 ServerPython/CoreServerGroup/GameServer/Script/GameWorld.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorld.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorld.py
index 62cfc6b..12c07f6 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorld.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorld.py
@@ -477,6 +477,8 @@
     return 0
 
 def CheckServerIDInList(serverID, serverIDList):
+    if serverIDList == None:
+        return False
     if not serverIDList:
         return True
     for serverIDInfo in serverIDList:

--
Gitblit v1.8.0