Browse Source

修改bug

lzx 1 ngày trước cách đây
mục cha
commit
c1f105505b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Assets/Scripts/GameUI/UI/DialoguePanel/DialoguePanel.cs

+ 1 - 1
Assets/Scripts/GameUI/UI/DialoguePanel/DialoguePanel.cs

@@ -205,7 +205,7 @@ namespace Fort23.Mono
                 }
                 else
                 {
-                    if (eventConditionConfig.ID != 0 && _eventLinkData.eventConditions.Count > 0)
+                    if (eventConditionConfig.ID != 0 && _eventLinkData != null && _eventLinkData.eventConditions.Count > 0)
                     {
                         foreach (var eventConditionData in _eventLinkData.eventConditions)
                         {