From c76a1d02ad959fde49541ea246e4b35b4d9cf647 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 05 十二月 2025 15:22:08 +0800
Subject: [PATCH] 0312 分包下载临时版本

---
 Main/Manager/StageManager.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/Main/Manager/StageManager.cs b/Main/Manager/StageManager.cs
index a36e7b5..eac6278 100644
--- a/Main/Manager/StageManager.cs
+++ b/Main/Manager/StageManager.cs
@@ -52,6 +52,14 @@
         UIManager.Instance.OpenWindow<LaunchBackGroundWin>();
         UIManager.Instance.OpenWindow<LoginWin>();
         SoundPlayer.Instance.StopBackGroundMusic();
+
+        if (VersionUtility.Instance.NeedDownAsset() && !AssetVersionUtility.hasDownLoadFullAsset)
+        {
+            DownloadHotMgr.Instance.ClearDownloadCache();
+            InGameDownLoad.Instance.inGameDownLoadAllow = true;
+            InGameDownLoad.Instance.TryDownLoad(InGameDownLoad.Dominant.None);
+        }
+
     }
 
     // 杩斿洖鐧诲綍鐣岄潰 濡傛柇绾�

--
Gitblit v1.8.0