1
0
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:
smoogipooo 2017-03-03 12:43:48 +09:00
parent 26b81a14cf
commit d222c523a1

View File

@ -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;