1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:07:52 +08:00

Ensure RegenerateAutoplay is only run once per frame

This commit is contained in:
Dean Herbert 2021-05-23 21:20:08 +09:00
parent d0d90d77c9
commit bbfd7ea23f

View File

@ -60,7 +60,7 @@ namespace osu.Game.Rulesets.Edit
}
}
private void updateReplay() => drawableRuleset.RegenerateAutoplay();
private void updateReplay() => Scheduler.AddOnce(drawableRuleset.RegenerateAutoplay);
private void addHitObject(HitObject hitObject)
{