mirror of https://github.com/ppy/osu
Remove redundant checks in RestoreState
This commit is contained in:
parent
2356588508
commit
dae54d252d
|
@ -170,7 +170,7 @@ public void RestoreState(double time)
|
|||
states.RemoveRange(targetIndex + 1, states.Count - (targetIndex + 1));
|
||||
|
||||
lastState = targetState;
|
||||
CountPresses = targetState?.Count ?? 0;
|
||||
CountPresses = targetState.Count;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue