mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Move all the "inherit previous AllowTrackAdjustments
" logic into OsuScreen
This commit is contained in:
@ -1075,10 +1075,7 @@ namespace osu.Game
|
||||
OverlayActivationMode.BindTo(newOsuScreen.OverlayActivationMode);
|
||||
API.Activity.BindTo(newOsuScreen.Activity);
|
||||
|
||||
if (newOsuScreen.AllowTrackAdjustments.HasValue)
|
||||
MusicController.AllowTrackAdjustments = newOsuScreen.AllowTrackAdjustments.Value;
|
||||
else
|
||||
newOsuScreen.AllowTrackAdjustments = MusicController.AllowTrackAdjustments;
|
||||
MusicController.AllowTrackAdjustments = newOsuScreen.AllowTrackAdjustments;
|
||||
|
||||
if (newOsuScreen.HideOverlaysOnEnter)
|
||||
CloseAllOverlays();
|
||||
|
Reference in New Issue
Block a user