fix:1、修复bug

This commit is contained in:
2026-07-15 16:02:48 +08:00
parent 2934687ce0
commit 4eaffe377e
10 changed files with 23 additions and 14 deletions
+3 -3
View File
@@ -489,7 +489,7 @@ namespace RedHotRoast
{
if (DataMgr.IsUnlockSecret.Value == 0)
{
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.UnlockTipsUI_Open, 1);
// UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.UnlockTipsUI_Open, 1);
}
else
{
@@ -1064,14 +1064,14 @@ namespace RedHotRoast
if (!GameHelper.GetVipPrivilege(Subscription.UnlockSecret.As<int>()) && DataMgr.IsUnlockSecret.Value < 0 && currentLevel >= commonModel.UnlockSecret[1] && GameHelper.GetCommonModel().Secret == 1 && GameHelper.GetCommonModel().Live == 1)
{
DataMgr.IsUnlockSecret.Value = 0;
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.UnlockTipsUI_Open, 1);
// UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.UnlockTipsUI_Open, 1);
}
Debug.Log($"[Game End2] {currentLevel}/{commonModel.UnlockLive[1]}/{DataMgr.IsUnlockLive.Value}");
if (!GameHelper.GetVipPrivilege(Subscription.UnlockLive.As<int>()) && DataMgr.IsUnlockLive.Value < 0 && currentLevel >= commonModel.UnlockLive[1] && GameHelper.GetCommonModel().Secret == 1 && GameHelper.GetCommonModel().Live == 1)
{
DataMgr.IsUnlockLive.Value = 0;
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.UnlockTipsUI_Open, 2);
// UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.UnlockTipsUI_Open, 2);
}
}