bug修改

This commit is contained in:
2026-05-12 15:56:48 +08:00
parent 6e6aa09d72
commit 1260b9077a
36 changed files with 363 additions and 99 deletions
@@ -240,13 +240,12 @@ namespace BingoBrain
PreferencesMgr.Instance.Currency101 = GameHelper.GetCommonModel().Initial101;
GameDispatcher.Instance.Dispatch(BingoInfo.Update101Completed);
}
if (PreferencesMgr.Instance.CardBoardSum == -1 ||
(PreferencesMgr.Instance.CardBoardSum == 0 && PlayerPrefs.GetInt("First", 0) == 0))
(PreferencesMgr.Instance.CardBoardSum <= 0 && PlayerPrefs.GetInt("First", 0) == 0))
{
PreferencesMgr.Instance.CardBoardSum = GameHelper.GetCommonModel().Fisrtcard[0];
Debug.Log("777777777777777777777777777");
//PlayerPrefs.SetInt("First", 1);
PlayerPrefs.SetInt("First", 1);
}
if (PreferencesMgr.Instance.Currency102 == -1)
@@ -154,6 +154,7 @@ namespace BingoBrain
{
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoHallUI_Open);
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoHalldUI_Open);
UICtrlDispatcher.Instance.Dispatch(SkinInfo.GodPleAcUI_Close);
if (GameHelper.IsGiftSwitch() && Random.Range(0, 100) < ConfigSystem.GetConfig<CommonModel>().backhallrate)
{
// BingoHalldUI.Instance.OnClickHall();
@@ -150,6 +150,7 @@ namespace BingoBrain
var dictionary = Havva.ToObject<Dictionary<string, object>>(json);
ParseGameConfig(dictionary);
CtrlDispatcher.Instance.Dispatch(CtrlMsg.Game_StartBefore);
ModuleBoardk.Instance.AllModuleReadData();
}