Make game bindable immutable.

This commit is contained in:
Lucas A
2020-08-27 20:07:24 +02:00
parent 5949a281fc
commit ad223bc460
5 changed files with 9 additions and 7 deletions

View File

@ -270,9 +270,6 @@ namespace osu.Game.Screens.Menu
ButtonSystemState lastState = state;
state = value;
if (game != null)
game.OverlayActivationMode.Value = state == ButtonSystemState.Exit ? OverlayActivation.Disabled : OverlayActivation.All;
updateLogoState(lastState);
Logger.Log($"{nameof(ButtonSystem)}'s state changed from {lastState} to {state}");