diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs index 67757be7..e5b732fe 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs @@ -54,6 +54,8 @@ namespace GameLogic // 设置游戏时长 m_GameTimerLen = EventConts.gameLenTiemr; + m_GameTimerLen = GameModule.Setting.GetInt("gameLenTiemrId"); + // 设置数据同步 GiftEffectBool = GameModule.Setting.GetBool("GiftEffect"); WorldEffectBool = GameModule.Setting.GetBool("WorldEffect"); diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameRankForm.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameRankForm.cs index 34634295..5aea6f15 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameRankForm.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameRankForm.cs @@ -43,11 +43,12 @@ namespace GameLogic #region 事件 private void OnClick_RankBtn() { - + GameModule.UI.ShowUI(); } private void OnClick_CloseBtn() { // 返回主界面 + GameModule.UI.CloseUI(); } private void OnClick_RestBtn() {