1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-08 19:24:22 +08:00

add condition

This commit is contained in:
nanashi-1
2022-11-17 16:15:34 +08:00
Unverified
parent 87b4fee10f
commit 4773979e52
+1
View File
@@ -414,6 +414,7 @@ namespace osu.Game.Screens.Select
private void updateCarouselSelection(ValueChangedEvent<WorkingBeatmap> e = null)
{
var beatmap = e?.NewValue ?? Beatmap.Value;
if (beatmap is DummyWorkingBeatmap || !this.IsCurrentScreen()) return;
Logger.Log($"Song select working beatmap updated to {beatmap}");