This commit is contained in:
smoogipoo 2019-02-22 19:49:37 +09:00
parent d61dfe888e
commit a0dae820ee
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ namespace osu.Desktop
{
host.ExceptionThrown += handleException;
if (false)
if (!host.IsPrimaryInstance)
{
var importer = new ArchiveImportIPCChannel(host);
// Restore the cwd so relative paths given at the command line work correctly

View File

@ -150,7 +150,7 @@ namespace osu.Game
ScoreManager.ItemAdded += (score, _, silent) => Schedule(() => LoadScore(score, silent));
if (false)
if (!Host.IsPrimaryInstance)
{
Logger.Log(@"osu! does not support multiple running instances.", LoggingTarget.Runtime, LogLevel.Error);
Environment.Exit(0);