mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 10:33:07 +08:00
Exit drawings if no drawings.txt file.
This commit is contained in:
parent
26b81a14cf
commit
d222c523a1
@ -40,6 +40,12 @@ namespace osu.Game.Screens.Tournament
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(Framework.Game game, TextureStore textures)
|
||||
{
|
||||
if (!File.Exists("drawings.txt"))
|
||||
{
|
||||
Exit();
|
||||
return;
|
||||
}
|
||||
|
||||
drawingsConfig = new DrawingsConfigManager(Game.Host.Storage);
|
||||
|
||||
Container visualiserContainer;
|
||||
|
Loading…
Reference in New Issue
Block a user