1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Reset score processor before starting the simulation

This commit is contained in:
iiSaLMaN 2019-09-07 18:15:49 +03:00
parent 55b2bc1ed5
commit be803fa921

View File

@ -269,6 +269,8 @@ 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);