move to initialiser

This commit is contained in:
cdwcgt 2023-07-30 02:31:05 +09:00
parent a1f0e59784
commit bc2ca11bb0
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2
1 changed files with 1 additions and 3 deletions

View File

@ -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 @@ private void load(Storage baseStorage)
dependencies.CacheAs(new StableInfo(storage));
beatmapCache = dependencies.Get<BeatmapLookupCache>();
ladder = new LadderInfo();
}
protected override void LoadComplete()