mirror of
https://github.com/ppy/osu.git
synced 2025-01-22 07:52:56 +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 partial class TournamentGameBase : OsuGameBase
|
||||||
{
|
{
|
||||||
public const string BRACKET_FILENAME = @"bracket.json";
|
public const string BRACKET_FILENAME = @"bracket.json";
|
||||||
private LadderInfo ladder = null!;
|
private LadderInfo ladder = new LadderInfo();
|
||||||
private TournamentStorage storage = null!;
|
private TournamentStorage storage = null!;
|
||||||
private DependencyContainer dependencies = null!;
|
private DependencyContainer dependencies = null!;
|
||||||
private FileBasedIPC ipc = null!;
|
private FileBasedIPC ipc = null!;
|
||||||
@ -77,8 +77,6 @@ namespace osu.Game.Tournament
|
|||||||
dependencies.CacheAs(new StableInfo(storage));
|
dependencies.CacheAs(new StableInfo(storage));
|
||||||
|
|
||||||
beatmapCache = dependencies.Get<BeatmapLookupCache>();
|
beatmapCache = dependencies.Get<BeatmapLookupCache>();
|
||||||
|
|
||||||
ladder = new LadderInfo();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
|
Loading…
Reference in New Issue
Block a user