From c097b7c41af01efda9924859347af270ed2817ff Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期二, 15 一月 2019 14:29:23 +0800
Subject: [PATCH] 382 修改战斗相关Tick同步逻辑
---
Fight/MapTransferUtility.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Fight/MapTransferUtility.cs b/Fight/MapTransferUtility.cs
index 0aca46b..b92480e 100644
--- a/Fight/MapTransferUtility.cs
+++ b/Fight/MapTransferUtility.cs
@@ -956,7 +956,10 @@
{
if (NpcID != GeneralDefine.GatherSoulDZ)
{
- NPCInteractProcessor.InvokeEvent(E_NpcType.Func, NpcID, _npc.ServerInstID);
+ if (_npc != null)
+ {
+ NPCInteractProcessor.InvokeEvent(E_NpcType.Func, NpcID, _npc.ServerInstID);
+ }
}
Clear();
}
--
Gitblit v1.8.0