1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 15:17:44 +08:00

Fix local scores never importing due to new conditionals

This commit is contained in:
Dean Herbert 2024-10-01 18:21:15 +09:00
parent 4b1c2c09ee
commit 8f0fedbd22
No known key found for this signature in database

View File

@ -390,7 +390,8 @@ namespace osu.Game
{
BeatmapManager.PauseImports = p.NewValue != LocalUserPlayingStates.NotPlaying;
SkinManager.PauseImports = p.NewValue != LocalUserPlayingStates.NotPlaying;
ScoreManager.PauseImports = p.NewValue != LocalUserPlayingStates.NotPlaying;
// For scores, we need to allow imports during "Break" state else local user's scores will never be imported.
ScoreManager.PauseImports = p.NewValue == LocalUserPlayingStates.Playing;
}, true);
IsActive.BindValueChanged(active => updateActiveState(active.NewValue), true);