mirror of
https://github.com/ppy/osu.git
synced 2025-01-07 22:22:59 +08:00
Merge pull request #28383 from peppy/fix-main-menu-test-fail
Fix occasional test failures on new menu content tests
This commit is contained in:
commit
7b14c77e43
@ -77,7 +77,15 @@ namespace osu.Game.Screens.Menu
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (r.IsCompletedSuccessfully)
|
if (r.IsCompletedSuccessfully)
|
||||||
Schedule(() => Current.Value = request.ResponseObject);
|
{
|
||||||
|
Schedule(() =>
|
||||||
|
{
|
||||||
|
if (!FetchOnlineContent)
|
||||||
|
return;
|
||||||
|
|
||||||
|
Current.Value = request.ResponseObject;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// if the request failed, "observe" the exception.
|
// if the request failed, "observe" the exception.
|
||||||
// it isn't very important why this failed, as it's only for display.
|
// it isn't very important why this failed, as it's only for display.
|
||||||
|
Loading…
Reference in New Issue
Block a user