mirror of https://github.com/ppy/osu
Fix spinner crashing on rewind
This commit is contained in:
parent
06b55c6aba
commit
5888ecdeb1
|
@ -268,7 +268,7 @@ private void updateBonusScore()
|
||||||
|
|
||||||
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