Skip to content

Commit

Permalink
Bypass offset disallowed status when handling realm callbacks
Browse files Browse the repository at this point in the history
Hopefully don't need to overthink this one.
  • Loading branch information
peppy committed Jan 24, 2025
1 parent 7bd01e6 commit 663a0cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions osu.Game/Screens/Play/PlayerSettings/BeatmapOffsetControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ protected override void LoadComplete()
// At the point we reach here, it's not guaranteed that all realm writes have taken place (there may be some in-flight).
// We are only aware of writes that originated from our own flow, so if we do see one that's active we can avoid handling the feedback value arriving.
if (realmWriteTask == null)
{
Current.Disabled = false;
Current.Disabled = allowOffsetAdjust;
Current.Value = val;
}

if (realmWriteTask?.IsCompleted == true)
{
Expand Down

0 comments on commit 663a0cc

Please sign in to comment.