mirror of https://github.com/ppy/osu
Remove unnecessary field storage
This commit is contained in:
parent
73b290aca3
commit
fb105a1e9c
|
@ -59,8 +59,6 @@ public class OsuGameBase : Framework.Game, ICanAcceptFiles
|
|||
|
||||
protected ScoreManager ScoreManager;
|
||||
|
||||
protected ScorePerformanceManager ScorePerformanceManager;
|
||||
|
||||
protected BeatmapDifficultyManager DifficultyManager;
|
||||
|
||||
protected SkinManager SkinManager;
|
||||
|
@ -231,8 +229,9 @@ List<ScoreInfo> getBeatmapScores(BeatmapSetInfo set)
|
|||
dependencies.Cache(DifficultyManager = new BeatmapDifficultyManager());
|
||||
AddInternal(DifficultyManager);
|
||||
|
||||
dependencies.Cache(ScorePerformanceManager = new ScorePerformanceManager());
|
||||
AddInternal(ScorePerformanceManager);
|
||||
var scorePerformanceManager = new ScorePerformanceManager();
|
||||
dependencies.Cache(scorePerformanceManager);
|
||||
AddInternal(scorePerformanceManager);
|
||||
|
||||
dependencies.Cache(KeyBindingStore = new KeyBindingStore(contextFactory, RulesetStore));
|
||||
dependencies.Cache(SettingsStore = new SettingsStore(contextFactory));
|
||||
|
|
Loading…
Reference in New Issue