mirror of
https://github.com/ppy/osu
synced 2025-01-19 04:20:59 +00:00
Merge pull request #12915 from peppy/regenerate-replay-less
Ensure `RegenerateAutoplay` is only run once per frame
This commit is contained in:
commit
7a343c1576
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user