Merge branch 'master' into LouDi_Quan
This commit is contained in:
commit
f73c3cb3b2
@ -96,9 +96,6 @@ public class ScoreController : MonoSingleton<ScoreController>
|
|||||||
|
|
||||||
private void OnQuit(OnModuleQuit quit)
|
private void OnQuit(OnModuleQuit quit)
|
||||||
{
|
{
|
||||||
var data = moduleDict[Global.Instance.curModule.ModuleName];
|
|
||||||
var scoreDict = data.scoreDict;
|
|
||||||
scoreDict.Clear();
|
|
||||||
TypeEventSystem.Global.UnRegister<OnModuleStart>(OnStart);
|
TypeEventSystem.Global.UnRegister<OnModuleStart>(OnStart);
|
||||||
TypeEventSystem.Global.UnRegister<OnModuleQuit>(OnQuit);
|
TypeEventSystem.Global.UnRegister<OnModuleQuit>(OnQuit);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user