Fix replay handler nullref crashes

This commit is contained in:
Dean Herbert
2019-03-31 01:33:56 +09:00
parent 6738bd54c0
commit 5d91c3bcfc
2 changed files with 19 additions and 8 deletions

View File

@ -19,7 +19,7 @@ namespace osu.Game.Rulesets.Osu.Replays
{
}
protected override bool IsImportant(OsuReplayFrame frame) => frame?.Actions.Any() ?? false;
protected override bool IsImportant(OsuReplayFrame frame) => frame.Actions.Any();
protected Vector2? Position
{