Add null-check when invoking OnSeek

This commit is contained in:
sh0ckR6 2021-09-18 12:20:36 -04:00
parent f6e279baa1
commit 04715a5471
No known key found for this signature in database
GPG Key ID: 701938030071AF85

View File

@ -589,7 +589,7 @@ namespace osu.Game.Screens.Play
public void Seek(double time) public void Seek(double time)
{ {
GameplayClockContainer.Seek(time); GameplayClockContainer.Seek(time);
OnSeek.Invoke(); OnSeek?.Invoke();
} }
private ScheduledDelegate frameStablePlaybackResetDelegate; private ScheduledDelegate frameStablePlaybackResetDelegate;