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:
parent
c059588a09
commit
1fa3764a1d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user