森罗战斗失败两次弹出失败

dev_chengFeng
ZhangBiao 2020-08-27 18:31:39 +08:00
parent 82ec03a605
commit 2a2eac8cbb
1 changed files with 5 additions and 1 deletions

View File

@ -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)
-- 无尽副本中死亡扣行动力