1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 23:40:44 +08:00

Remove redundant checks in RestoreState

This commit is contained in:
Roman Kapustin
2018-09-07 21:35:32 +03:00
Unverified
parent 2356588508
commit dae54d252d
+1 -1
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;
}
}
}