mirror of
https://github.com/ppy/osu
synced 2025-01-23 22:33:05 +00:00
Move reset call to ctor
This commit is contained in:
parent
be803fa921
commit
07fce8397b
@ -233,6 +233,8 @@ namespace osu.Game.Rulesets.Scoring
|
||||
drawableRuleset.OnRevertResult += revertResult;
|
||||
|
||||
ApplyBeatmap(drawableRuleset.Beatmap);
|
||||
|
||||
Reset(false);
|
||||
SimulateAutoplay(drawableRuleset.Beatmap);
|
||||
Reset(true);
|
||||
|
||||
@ -269,8 +271,6 @@ namespace osu.Game.Rulesets.Scoring
|
||||
/// <param name="beatmap">The <see cref="Beatmap{TObject}"/> to simulate.</param>
|
||||
protected virtual void SimulateAutoplay(Beatmap<TObject> beatmap)
|
||||
{
|
||||
Reset(false);
|
||||
|
||||
foreach (var obj in beatmap.HitObjects)
|
||||
simulate(obj);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user