1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

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)
{
GameplayClockContainer.Seek(time);
OnSeek.Invoke();
OnSeek?.Invoke();
}
private ScheduledDelegate frameStablePlaybackResetDelegate;