中断骑行弹窗bug修复

This commit is contained in:
lishuo 2021-12-17 11:24:24 +08:00
parent 7616e09a40
commit 2c8457c75e

View File

@ -221,18 +221,19 @@ public class MainController : BaseScene
//{ //{
// UIManager.ShowHomePanel(); // UIManager.ShowHomePanel();
//}); //});
//#if UNITY_ANDROID || UNITY_IOS //#if UNITY_ANDROID || UNITY_IOS
// if (!App.IsRowerMode.HasValue) // if (!App.IsRowerMode.HasValue)
// { // {
// UIManager.ShowRowerSelector(); // UIManager.ShowRowerSelector();
// return; // return;
// } // }
// if (App.IsRowerMode == true) // if (App.IsRowerMode == true)
// { // {
// UIManager.ShowRowerPanel(); // UIManager.ShowRowerPanel();
// return; // return;
// } // }
//#endif //#endif
LastRide();//检查本地异常中断的骑行并弹窗提示继续
if (App.MainSceneParam.ContainsKey("Name") && !string.IsNullOrEmpty(App.MainSceneParam["Name"])) if (App.MainSceneParam.ContainsKey("Name") && !string.IsNullOrEmpty(App.MainSceneParam["Name"]))
{ {
UIManager.ShowHomePanel(); UIManager.ShowHomePanel();
@ -267,7 +268,6 @@ public class MainController : BaseScene
} }
UIManager.UpdateJoinCompetition();//查询当前我参加的赛事 UIManager.UpdateJoinCompetition();//查询当前我参加的赛事
LastRide();//检查本地异常中断的骑行并弹窗提示继续
} }
float maxt = 0f; //用于获取全服最值内容 float maxt = 0f; //用于获取全服最值内容