From b68bf6efef97df1575e5c7e24ee89c172e285afb Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期六, 27 四月 2019 17:03:16 +0800
Subject: [PATCH] 3335 奇遇添加退出按钮
---
System/MainInterfacePanel/MapSwitchingBehaviour.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/System/MainInterfacePanel/MapSwitchingBehaviour.cs b/System/MainInterfacePanel/MapSwitchingBehaviour.cs
index 38ef021..51dc800 100644
--- a/System/MainInterfacePanel/MapSwitchingBehaviour.cs
+++ b/System/MainInterfacePanel/MapSwitchingBehaviour.cs
@@ -29,7 +29,7 @@
public void Init()
{
int MapID = PlayerDatas.Instance.baseData.MapID;
- if (MapIdList.Contains(MapID))
+ if (MapIdList.Contains(MapID) && !AdventureStage.Instance.IsInAdventureStage)
{
m_Btn_MapSwitch.gameObject.SetActive(true);
}
--
Gitblit v1.8.0