mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 20:13:22 +08:00
Fix swells crashing on rapid seeks in editor
This commit is contained in:
parent
c364b17141
commit
523e803440
@ -168,7 +168,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
||||
|
||||
foreach (var t in ticks)
|
||||
{
|
||||
if (!t.IsHit)
|
||||
if (!t.Result.HasResult)
|
||||
{
|
||||
nextTick = t;
|
||||
break;
|
||||
@ -208,6 +208,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!tick.Result.HasResult)
|
||||
tick.TriggerResult(false);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user