mirror of
https://github.com/ppy/osu.git
synced 2024-11-17 19:18:03 +08:00
20 lines
522 B
C#
20 lines
522 B
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
namespace osu.Game.Screens.Select
|
|
{
|
|
public class MatchSongSelect : SongSelect
|
|
{
|
|
protected override bool OnStart()
|
|
{
|
|
Schedule(() =>
|
|
{
|
|
// needs to be scheduled else we enter an infinite feedback loop.
|
|
if (IsCurrentScreen) Exit();
|
|
});
|
|
|
|
return true;
|
|
}
|
|
}
|
|
}
|