From 9435bb037b591f57231f3daf27fff88478fc2253 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 16 四月 2019 14:45:56 +0800
Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(修复活动线路不存在刷怪报错)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCustomRefresh.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCustomRefresh.py
index d1cbeb0..266e4d9 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCustomRefresh.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCustomRefresh.py
@@ -308,6 +308,8 @@
         
     gameWorld = IPY_GameWorld.IPY_GameWorld(activityLineIndex)
     gameFB = gameWorld.GetGameFBByFbIndex(activityLineIndex)
+    if not gameFB:
+        return
     
     gameNPC = GameWorld.GetNPCManager() # NPC标识点的无所谓,哪条线都可以,因为都一样
     for i in xrange(gameNPC.GetCustomNPCRefreshCount()):

--
Gitblit v1.8.0