Make IPC error dialog reusable

and inspectcode fixes
This commit is contained in:
Shivam
2020-05-17 22:46:43 +02:00
parent a97100216c
commit 59b006f9ac
4 changed files with 11 additions and 10 deletions

View File

@ -233,6 +233,7 @@ namespace osu.Game.Tournament.IPC
private string findFromJsonConfig()
{
Logger.Log("Trying to find stable through the json config");
if (tournamentStorage.Exists(stable_config))
{
using (Stream stream = tournamentStorage.GetStream(stable_config, FileAccess.Read, FileMode.Open))
@ -242,7 +243,7 @@ namespace osu.Game.Tournament.IPC
return stableInfo.StablePath.Value;
}
}
return null;
}