mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Fix crash when hitting 'T' to tap timing while no timing point is selected
This commit is contained in:
@ -183,12 +183,18 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
|
||||
private void start()
|
||||
{
|
||||
if (selectedGroup.Value == null)
|
||||
return;
|
||||
|
||||
editorClock.Seek(selectedGroup.Value.Time);
|
||||
editorClock.Start();
|
||||
}
|
||||
|
||||
private void reset()
|
||||
{
|
||||
if (selectedGroup.Value == null)
|
||||
return;
|
||||
|
||||
editorClock.Stop();
|
||||
editorClock.Seek(selectedGroup.Value.Time);
|
||||
}
|
||||
|
Reference in New Issue
Block a user