mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:12:57 +08:00
Fix spinner crashing on rewind
This commit is contained in:
parent
06b55c6aba
commit
5888ecdeb1
@ -268,7 +268,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
|
|
||||||
while (wholeSpins != spins)
|
while (wholeSpins != spins)
|
||||||
{
|
{
|
||||||
var tick = ticks.FirstOrDefault(t => !t.IsHit);
|
var tick = ticks.FirstOrDefault(t => !t.Result.HasResult);
|
||||||
|
|
||||||
// tick may be null if we've hit the spin limit.
|
// tick may be null if we've hit the spin limit.
|
||||||
if (tick != null)
|
if (tick != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user