diff --git a/Assets/ManagedResources/~Lua/Modules/Map/MapPanel.lua b/Assets/ManagedResources/~Lua/Modules/Map/MapPanel.lua index 43e510ce84..fd3e57c612 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/MapPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/MapPanel.lua @@ -749,7 +749,11 @@ function this.OnDeadCount(startTime, lastPos) -- 角色死亡不出图, 立马设置遮罩,让你瞎几把点 -- this.deadRoot:SetActive(true) - UIManager.OpenPanel(UIName.BattleFailPopup,nil,false,nil,12) + local t=(PlayerPrefs.HasKey(PlayerManager.uid.."GeneralPopup_TrialSettingBtn"..1) + and PlayerPrefs.GetInt(PlayerManager.uid.."GeneralPopup_TrialSettingBtn"..1)==1) and 1 or 0 + if t==1 then + UIManager.OpenPanel(UIName.BattleFailPopup,nil,false,nil,12) + end ctrlView.SetCtrlState(false) -- 无尽副本中死亡扣行动力