1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 05:19:55 +08:00

Fix crash when selecting spotlight tab with not-null country

This commit is contained in:
Andrei Zavatski
2020-02-07 12:07:16 +03:00
Unverified
parent 4ca39135a5
commit 881d192af3
+2 -1
View File
@@ -110,7 +110,8 @@ namespace osu.Game.Overlays
if (Country.Value != null)
Scope.Value = RankingsScope.Performance;
Scheduler.AddOnce(loadNewContent);
if (Scope.Value != RankingsScope.Spotlights)
Scheduler.AddOnce(loadNewContent);
}, true);
Scope.BindValueChanged(_ =>