mirror of
https://github.com/ppy/osu.git
synced 2026-05-19 20:20:21 +08:00
Describe special case of user mod validation
This commit is contained in:
@@ -458,12 +458,14 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
|
||||
beatmapAvailabilityTracker.Availability.BindValueChanged(_ => updateGameplayState());
|
||||
|
||||
UserBeatmap.BindValueChanged(_ => updateGameplayState());
|
||||
UserMods.BindValueChanged(_ => updateGameplayState());
|
||||
UserRuleset.BindValueChanged(_ =>
|
||||
{
|
||||
// The user mod selection overlay is separate from the beatmap/ruleset style selection screen,
|
||||
// and so the validity of mods has to be confirmed separately after the ruleset is changed.
|
||||
validateUserMods();
|
||||
updateGameplayState();
|
||||
});
|
||||
UserMods.BindValueChanged(_ => updateGameplayState());
|
||||
|
||||
updateSetupState();
|
||||
updateGameplayState();
|
||||
@@ -545,7 +547,6 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
|
||||
UserRuleset.Value = null;
|
||||
|
||||
validateUserMods();
|
||||
|
||||
updateGameplayState();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user