mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 20:22:55 +08:00
Force an OnBeatmapChanged event to invoke when entering a screen.
This commit is contained in:
parent
d208614495
commit
f2cfcdb2ca
@ -69,6 +69,8 @@ namespace osu.Game.Screens
|
|||||||
|
|
||||||
BackgroundScreen bg = CreateBackground();
|
BackgroundScreen bg = CreateBackground();
|
||||||
|
|
||||||
|
OnBeatmapChanged(Beatmap);
|
||||||
|
|
||||||
if (lastOsu?.Background != null)
|
if (lastOsu?.Background != null)
|
||||||
{
|
{
|
||||||
if (bg == null || lastOsu.Background.Equals(bg))
|
if (bg == null || lastOsu.Background.Equals(bg))
|
||||||
|
Loading…
Reference in New Issue
Block a user