mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 07:22:54 +08:00
Remove unnecessary field storage
This commit is contained in:
parent
73b290aca3
commit
fb105a1e9c
@ -59,8 +59,6 @@ namespace osu.Game
|
|||||||
|
|
||||||
protected ScoreManager ScoreManager;
|
protected ScoreManager ScoreManager;
|
||||||
|
|
||||||
protected ScorePerformanceManager ScorePerformanceManager;
|
|
||||||
|
|
||||||
protected BeatmapDifficultyManager DifficultyManager;
|
protected BeatmapDifficultyManager DifficultyManager;
|
||||||
|
|
||||||
protected SkinManager SkinManager;
|
protected SkinManager SkinManager;
|
||||||
@ -231,8 +229,9 @@ namespace osu.Game
|
|||||||
dependencies.Cache(DifficultyManager = new BeatmapDifficultyManager());
|
dependencies.Cache(DifficultyManager = new BeatmapDifficultyManager());
|
||||||
AddInternal(DifficultyManager);
|
AddInternal(DifficultyManager);
|
||||||
|
|
||||||
dependencies.Cache(ScorePerformanceManager = new ScorePerformanceManager());
|
var scorePerformanceManager = new ScorePerformanceManager();
|
||||||
AddInternal(ScorePerformanceManager);
|
dependencies.Cache(scorePerformanceManager);
|
||||||
|
AddInternal(scorePerformanceManager);
|
||||||
|
|
||||||
dependencies.Cache(KeyBindingStore = new KeyBindingStore(contextFactory, RulesetStore));
|
dependencies.Cache(KeyBindingStore = new KeyBindingStore(contextFactory, RulesetStore));
|
||||||
dependencies.Cache(SettingsStore = new SettingsStore(contextFactory));
|
dependencies.Cache(SettingsStore = new SettingsStore(contextFactory));
|
||||||
|
Loading…
Reference in New Issue
Block a user