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

Cleaned up Update method in Taiko Playfield

This commit is contained in:
Tim Oliver 2020-04-23 18:26:53 +08:00
parent c059588a09
commit 1fa3764a1d

View File

@ -286,14 +286,12 @@ namespace osu.Game.Rulesets.Taiko.UI
{
base.Update();
// When rewinding, make sure to remove any auxilliary hit notes that were
// spawned and played during a drumroll.
if (Time.Elapsed < 0)
{
foreach (var o in drumRollHitContainer.Objects)
{
var taikoHit = (DrawableHit)o;
taikoHit.RemoveProxiedContent();
drumRollHitContainer.Remove(taikoHit);
}
drumRollHitContainer.Remove(o);
}
}