mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 15:27:30 +08:00
move to initialiser
This commit is contained in:
parent
a1f0e59784
commit
bc2ca11bb0
@ -30,7 +30,7 @@ namespace osu.Game.Tournament
|
||||
public partial class TournamentGameBase : OsuGameBase
|
||||
{
|
||||
public const string BRACKET_FILENAME = @"bracket.json";
|
||||
private LadderInfo ladder = null!;
|
||||
private LadderInfo ladder = new LadderInfo();
|
||||
private TournamentStorage storage = null!;
|
||||
private DependencyContainer dependencies = null!;
|
||||
private FileBasedIPC ipc = null!;
|
||||
@ -77,8 +77,6 @@ namespace osu.Game.Tournament
|
||||
dependencies.CacheAs(new StableInfo(storage));
|
||||
|
||||
beatmapCache = dependencies.Get<BeatmapLookupCache>();
|
||||
|
||||
ladder = new LadderInfo();
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
|
Loading…
Reference in New Issue
Block a user