mirror of
https://github.com/ppy/osu.git
synced 2024-12-17 10:13:22 +08:00
Fix crash if favourite button api request fails
This commit is contained in:
parent
7693d4c039
commit
59ba48bc81
@ -78,7 +78,7 @@ namespace osu.Game.Screens.Ranking
|
|||||||
{
|
{
|
||||||
Logger.Error(e, $"Failed to fetch beatmap info: {e.Message}");
|
Logger.Error(e, $"Failed to fetch beatmap info: {e.Message}");
|
||||||
|
|
||||||
loading.Hide();
|
Schedule(() => loading.Hide());
|
||||||
Enabled.Value = false;
|
Enabled.Value = false;
|
||||||
};
|
};
|
||||||
api.Queue(beatmapSetRequest);
|
api.Queue(beatmapSetRequest);
|
||||||
|
Loading…
Reference in New Issue
Block a user