1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Remove redundant checks in RestoreState

This commit is contained in:
Roman Kapustin 2018-09-07 21:35:32 +03:00
parent 2356588508
commit dae54d252d

View File

@ -170,7 +170,7 @@ namespace osu.Game.Screens.Play
states.RemoveRange(targetIndex + 1, states.Count - (targetIndex + 1));
lastState = targetState;
CountPresses = targetState?.Count ?? 0;
CountPresses = targetState.Count;
}
}
}