1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-22 17:12:54 +08:00

Merge pull request #11179 from bdach/swell-rewind-crash

Fix swells crashing on rapid seeks in editor
This commit is contained in:
Dan Balasescu 2020-12-15 11:21:37 +09:00 committed by GitHub
commit 52d9864818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
foreach (var t in ticks) foreach (var t in ticks)
{ {
if (!t.IsHit) if (!t.Result.HasResult)
{ {
nextTick = t; nextTick = t;
break; break;
@ -208,6 +208,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
continue; continue;
} }
if (!tick.Result.HasResult)
tick.TriggerResult(false); tick.TriggerResult(false);
} }