1
0
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:
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

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 @@ namespace osu.Game.Tournament
dependencies.CacheAs(new StableInfo(storage));
beatmapCache = dependencies.Get<BeatmapLookupCache>();
ladder = new LadderInfo();
}
protected override void LoadComplete()