mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
add condition
This commit is contained in:
parent
87b4fee10f
commit
4773979e52
@ -414,6 +414,7 @@ namespace osu.Game.Screens.Select
|
|||||||
private void updateCarouselSelection(ValueChangedEvent<WorkingBeatmap> e = null)
|
private void updateCarouselSelection(ValueChangedEvent<WorkingBeatmap> e = null)
|
||||||
{
|
{
|
||||||
var beatmap = e?.NewValue ?? Beatmap.Value;
|
var beatmap = e?.NewValue ?? Beatmap.Value;
|
||||||
|
if (beatmap is DummyWorkingBeatmap || !this.IsCurrentScreen()) return;
|
||||||
|
|
||||||
Logger.Log($"Song select working beatmap updated to {beatmap}");
|
Logger.Log($"Song select working beatmap updated to {beatmap}");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user