mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 17:17:26 +08:00
Fix local scores never importing due to new conditionals
This commit is contained in:
parent
4b1c2c09ee
commit
8f0fedbd22
@ -390,7 +390,8 @@ namespace osu.Game
|
|||||||
{
|
{
|
||||||
BeatmapManager.PauseImports = p.NewValue != LocalUserPlayingStates.NotPlaying;
|
BeatmapManager.PauseImports = p.NewValue != LocalUserPlayingStates.NotPlaying;
|
||||||
SkinManager.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);
|
}, true);
|
||||||
|
|
||||||
IsActive.BindValueChanged(active => updateActiveState(active.NewValue), true);
|
IsActive.BindValueChanged(active => updateActiveState(active.NewValue), true);
|
||||||
|
Loading…
Reference in New Issue
Block a user