mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Add test coverage ensuring ruleset ID is correct after bracket read
Historically, tournament client may have written incorrect `OnlineID` values. We wanted to use `ShortName` to re-fetch the ruleset. This test ensures this flow is working correctly.
This commit is contained in:
@ -64,8 +64,6 @@ namespace osu.Game.Tournament
|
||||
Textures.AddStore(new TextureLoaderStore(new StorageBackedResourceStore(storage)));
|
||||
|
||||
dependencies.CacheAs(new StableInfo(storage));
|
||||
|
||||
Task.Run(readBracket);
|
||||
}
|
||||
|
||||
private void readBracket()
|
||||
@ -290,6 +288,8 @@ namespace osu.Game.Tournament
|
||||
MenuCursorContainer.Cursor.Alpha = 0;
|
||||
|
||||
base.LoadComplete();
|
||||
|
||||
Task.Run(readBracket);
|
||||
}
|
||||
|
||||
protected virtual void SaveChanges()
|
||||
|
Reference in New Issue
Block a user