Remove redundant checks in RestoreState

This commit is contained in:
Roman Kapustin 2018-09-07 21:35:32 +03:00
parent 2356588508
commit dae54d252d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}
}