mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Exit drawings if no drawings.txt file.
This commit is contained in:
@ -40,6 +40,12 @@ namespace osu.Game.Screens.Tournament
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(Framework.Game game, TextureStore textures)
|
private void load(Framework.Game game, TextureStore textures)
|
||||||
{
|
{
|
||||||
|
if (!File.Exists("drawings.txt"))
|
||||||
|
{
|
||||||
|
Exit();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
drawingsConfig = new DrawingsConfigManager(Game.Host.Storage);
|
drawingsConfig = new DrawingsConfigManager(Game.Host.Storage);
|
||||||
|
|
||||||
Container visualiserContainer;
|
Container visualiserContainer;
|
||||||
|
Reference in New Issue
Block a user