Skip to content

Commit

Permalink
Fix local scores never importing due to new conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Oct 1, 2024
1 parent 4b1c2c0 commit 8f0fedb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osu.Game/OsuGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,8 @@ private void load()
{
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);
Expand Down

0 comments on commit 8f0fedb

Please sign in to comment.