mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 21:32:57 +08:00
Remove redundant checks in RestoreState
This commit is contained in:
parent
2356588508
commit
dae54d252d
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user