Only allow replay screen changes in menu + songselect

This commit is contained in:
smoogipoo
2018-11-29 17:18:59 +09:00
parent 4c1abdcd8c
commit d07a724970
4 changed files with 40 additions and 14 deletions

View File

@ -34,6 +34,8 @@ namespace osu.Game.Screens
protected virtual bool AllowBackButton => true;
public virtual bool AllowExternalScreenChange => false;
/// <summary>
/// Override to create a BackgroundMode for the current screen.
/// Note that the instance created may not be the used instance if it matches the BackgroundMode equality clause.