1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 16:42:57 +08:00

Force an OnBeatmapChanged event to invoke when entering a screen.

This commit is contained in:
Dean Herbert 2017-03-15 19:09:30 +09:00
parent d208614495
commit f2cfcdb2ca
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -69,6 +69,8 @@ namespace osu.Game.Screens
BackgroundScreen bg = CreateBackground();
OnBeatmapChanged(Beatmap);
if (lastOsu?.Background != null)
{
if (bg == null || lastOsu.Background.Equals(bg))