From 2901466d1053a54b7bfaf19d818b7af1ad354cc5 Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Mon, 19 May 2025 18:17:33 +0800 Subject: [PATCH] 213 --- .../HotFix/GameLogic/Manager/DataGameSceneManager.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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();