mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:28:00 +08:00
Add Swell to GetNextObject() check
This commit is contained in:
parent
eb83e36e0f
commit
9732f5d622
@ -142,7 +142,8 @@ namespace osu.Game.Rulesets.Taiko.Replays
|
||||
for (; currentIndex < Beatmap.HitObjects.Count; currentIndex++)
|
||||
{
|
||||
var currentObj = Beatmap.HitObjects[currentIndex];
|
||||
if (currentObj.GetType().Equals(desiredType) || currentObj is DrumRoll)
|
||||
if (currentObj.GetType().Equals(desiredType) ||
|
||||
currentObj is DrumRoll || currentObj is Swell) // It's best to unpress any remaining keys before DrumRoll or Swell
|
||||
return Beatmap.HitObjects[currentIndex];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user