From d425a98349b506c29bc238a4284f86693ede9dbb Mon Sep 17 00:00:00 2001 From: shenjianxing <”315615051@qq.com“> Date: Wed, 22 Jan 2025 18:21:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Controller/ScoreController.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Assets/Scripts/Controller/ScoreController.cs b/Assets/Scripts/Controller/ScoreController.cs index 460ded4d..65f7f5c0 100644 --- a/Assets/Scripts/Controller/ScoreController.cs +++ b/Assets/Scripts/Controller/ScoreController.cs @@ -96,9 +96,6 @@ public class ScoreController : MonoSingleton private void OnQuit(OnModuleQuit quit) { - var data = moduleDict[Global.Instance.curModule.ModuleName]; - var scoreDict = data.scoreDict; - scoreDict.Clear(); TypeEventSystem.Global.UnRegister(OnStart); TypeEventSystem.Global.UnRegister(OnQuit); }