fix:1、修复bug
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user