From f3aa003e00d2111fc321ac182e1360b3bb11b2af Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 23 十一月 2018 23:41:38 +0800
Subject: [PATCH] 4997 【后端】【1.3】冰晶矿脉AI--添加全图搜索逻辑

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GetStoreServerBuyCnt.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GetStoreServerBuyCnt.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GetStoreServerBuyCnt.py
index 0b70c50..06ab242 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GetStoreServerBuyCnt.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GetStoreServerBuyCnt.py
@@ -46,6 +46,8 @@
 def DoResult(curPlayer, callFunName, funResult, tick):
     GameWorld.DebugLog("GY_Query_GetStoreServerBuyCnt funResult=%s" % funResult)
     curPlayer.SetDict(ChConfig.Def_PlayerKey_StoreQueryState, 0)
+    if not funResult:
+        return
     result = eval(funResult)
     if len(result) != 7:
         return

--
Gitblit v1.8.0