1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-31 05:23:21 +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)); states.RemoveRange(targetIndex + 1, states.Count - (targetIndex + 1));
lastState = targetState; lastState = targetState;
CountPresses = targetState?.Count ?? 0; CountPresses = targetState.Count;
} }
} }
} }