diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs index e5b732fe..213a2a90 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs @@ -54,7 +54,10 @@ namespace GameLogic // 设置游戏时长 m_GameTimerLen = EventConts.gameLenTiemr; - m_GameTimerLen = GameModule.Setting.GetInt("gameLenTiemrId"); + if (GameModule.Setting.GetInt("gameLenTiemrId") != 0) + { + m_GameTimerLen = GameModule.Setting.GetInt("gameLenTiemrId"); + } // 设置数据同步 GiftEffectBool = GameModule.Setting.GetBool("GiftEffect"); @@ -908,7 +911,7 @@ namespace GameLogic WinAllValue = 0; ScoreAllValue = 0; - + m_TeamSortList.Clear(); m_DicTeamList.Clear();