1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-17 20:32:56 +08:00
osu-lazer/osu.Game/Screens/Select/MatchSongSelect.cs

20 lines
522 B
C#
Raw Normal View History

2018-04-13 17:19:50 +08:00
// 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()
2018-04-13 17:19:50 +08:00
{
2018-05-17 16:56:25 +08:00
Schedule(() =>
{
// needs to be scheduled else we enter an infinite feedback loop.
if (IsCurrentScreen) Exit();
});
2018-04-13 17:19:50 +08:00
return true;
}
}
}