mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 00:23:01 +08:00
Add global logging of WorkingBeatmap
changes
This commit is contained in:
parent
09536cd733
commit
e0babe4b79
@ -554,6 +554,7 @@ namespace osu.Game
|
|||||||
{
|
{
|
||||||
beatmap.OldValue?.CancelAsyncLoad();
|
beatmap.OldValue?.CancelAsyncLoad();
|
||||||
beatmap.NewValue?.BeginAsyncLoad();
|
beatmap.NewValue?.BeginAsyncLoad();
|
||||||
|
Logger.Log($"Game-wide working beatmap updated to {beatmap.NewValue}");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void modsChanged(ValueChangedEvent<IReadOnlyList<Mod>> mods)
|
private void modsChanged(ValueChangedEvent<IReadOnlyList<Mod>> mods)
|
||||||
|
@ -410,7 +410,7 @@ namespace osu.Game.Screens.Select
|
|||||||
{
|
{
|
||||||
if (e.NewValue is DummyWorkingBeatmap || !this.IsCurrentScreen()) return;
|
if (e.NewValue is DummyWorkingBeatmap || !this.IsCurrentScreen()) return;
|
||||||
|
|
||||||
Logger.Log($"working beatmap updated to {e.NewValue}");
|
Logger.Log($"Song select working beatmap updated to {e.NewValue}");
|
||||||
|
|
||||||
if (!Carousel.SelectBeatmap(e.NewValue.BeatmapInfo, false))
|
if (!Carousel.SelectBeatmap(e.NewValue.BeatmapInfo, false))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user