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