mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:22:55 +08:00
Replace useless "matching-code" comment with explanation of how it could happen
Co-authored-by: Dean Herbert <pe@ppy.sh>
This commit is contained in:
parent
65d541456a
commit
4236e5fe71
@ -279,7 +279,8 @@ namespace osu.Game.Overlays
|
||||
|
||||
private void changeBeatmap(WorkingBeatmap newWorking)
|
||||
{
|
||||
// If the provided beatmap is same as current, then there is no need to do any changes.
|
||||
// This method can potentially be triggered multiple times as it is eagerly fired in next() / prev() to ensure correct execution order
|
||||
// (changeBeatmap must be called before consumers receive the bindable changed event, which is not the case when called from the bindable itself).
|
||||
if (newWorking == current)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user