mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 17:37:23 +09:00
Ensure the value used during realm async write is the same as whe compared for equality
This commit is contained in:
parent
daa42584f4
commit
960b6528ca
@ -167,10 +167,12 @@ namespace osu.Game.Screens.Play.PlayerSettings
|
|||||||
if (settings == null) // only the case for tests.
|
if (settings == null) // only the case for tests.
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (settings.Offset == Current.Value)
|
double val = Current.Value;
|
||||||
|
|
||||||
|
if (settings.Offset == val)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
settings.Offset = Current.Value;
|
settings.Offset = val;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user