diff --git a/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua b/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua index 6e2fb89582..5f64f9cf7a 100644 --- a/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua @@ -270,7 +270,10 @@ function this.PatFaceSpecialMonitor(v,patFaceAllData,type,starUpGiftNum) elseif v.Type==23 then--首充拍脸 if PlayerPrefs.GetInt(PlayerManager.uid.."FirstRecharge") == 0 then PlayerPrefs.SetInt(PlayerManager.uid.."FirstRecharge",1) - UIManager.OpenPanel(UIName.FirstRechargePanel) + local activityInfo = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.FirstRecharge) + if activityInfo then + UIManager.OpenPanel(UIName.FirstRechargePanel) + end end else if RedPointManager.PlayerPrefsGetStr(v.Id.."PatFace") == "0" then